Scenario: [1.1:252]
SLA_REN_Lic_AssignToExaminer
ms: 46229
>>
Background:
3
* url BaseURL
0
20:36:32.078 karate.env system property was: svamqa
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def amendmentTypeId = 1
0
8
* callonce read('LoginDetails.feature') { strToken:'#(strToken)'}
201
9
* def getcorporateStructureCodeFunc =
0
function(value){
if (value === 'Individual'){
return 1;
}
else {
return 2;
}
}
20
* def getStatusIndOrgStatus =
0
function(value){
if (value === 'Individual'){
return true;
}
else {
return false;
}
}
31
* def getIndORgCodeFunc =
0
function(value1, value2){
if (value1 == 1 && value2 == 'Individual'){
return 1;
}
else if (value1 == 1 && value2 == 'Sole Propretior'){
return 2;
}
else if (value1 == 2 && value2 == 'Individual'){
return 1;
}
else if (value1 == 2 && value2 == 'Limited Liability Company'){
return 2;
}else if (value1 == 2 && value2 == 'Corporation'){
return 3;
}else if (value1 == 2 && value2 == 'Limited Liability Partnership'){
return 4;
}else if (value1 == 2 && value2 == 'Limited Partnership'){
return 5;
}else if (value1 == 2 && value2 == 'Partnership'){
return 6;
}else if (value1 == 2 && value2 == 'Government'){
return 7;
}else if (value1 == 2 && value2 == 'Sole Propretior'){
return 8;
}else if (value1 == 2 && value2 == 'Trust'){
return 9;
}else if (value1 == 2 && value2 == 'Estate'){
return 10;
}
else {
return 1;
}
}
68
* def getAmendmentTypeIdFunc =
0
function(amendmentType){
if (amendmentType == 'ABC Officer'){
return 1;
}
else if (amendmentType == 'Additional Bar'){
return 2;
}
else if (amendmentType == 'Alteration'){
return 3;
}
else if (amendmentType == 'Alteration with Additional Bar'){
return 3;
}
}
87
* def waitFunc =
0
function(timeinMiliSeconds) {
// load java type into js engine
var Thread = Java.type('java.lang.Thread');
Thread.sleep(timeinMiliSeconds*1000);
}
95
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
106
* def fundDueDateFuncRenewal =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
118
* def getMMMMDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("MMMM dd, yyyy");
var date = new java.util.Date();
return sdf.format(date);
}
128
* def mmmmdate = getMMMMDate()
0
130
* def getMMYYDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("MM/dd/yyyy");
var date = new java.util.Date();
return sdf.format(date);
}
140
* def mmyydate = getMMYYDate()
0
142
* def getFundDueDateMMYYDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("MM/dd/yyyy");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
154
* def mmyydateFundDueDate = getFundDueDateMMYYDate(7)
2
156
* def dateFnc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date( date.getTime() - java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
172
* def IndOrgSelectionDropDown = 'Individual'
0
173
* def indOrgCode = getIndORgCodeFunc(IndOrgSelectionDropDown)
2
174
And print indOrgCode
1
20:36:32.286 [print] 1
175
* def isIndStatus = getStatusIndOrgStatus(IndOrgSelectionDropDown)
1
176
* def CorporateStructureDropDown = 'Individual'
0
177
* def CorporateStructureDropDownCode = getIndORgCodeFunc(indOrgCode,CorporateStructureDropDown)
0
178
And print CorporateStructureDropDownCode
0
20:36:32.288 [print] 1
179
* def firstName = 'Automation'
0
180
* def lastName = 'Automation'
0
181
* def legalName = firstName+ ' '+lastName
0
182
* def Address1 = 'Address1'
0
183
* def Address2 = 'Address2'
0
184
* def CityName = 'New York'
0
185
* def zipCode = '12345'
0
186
* def postalCode = '1234'
0
187
* def countryName = 'United States (US)'
0
188
* def emailId = 'automation@svam.com'
0
189
* def convictedOfCrime = '1'
0
190
* def percentageOfOwners = '20'
0
191
* def isFingerprintRequired = true
0
192
* def isFingerprintsApproved = true
0
193
* def isSignature = true
0
195
* def convictedOfCrime = '1'
0
196
* def PhoneNumber = '999-999-9999'
0
197
* def PhoneExtn = 1234
0
198
* def countryCode = '+91'
0
199
* def stateCode = 40
0
201
* def mainLicensePermitTypeId = 40
0
202
* def termInYears = 3
0
203
* def termDesc = 3+' Year (s)'
3
204
* def licenseFees = 960
0
205
* def fillingFees = 100
0
206
* def licAncillaryFees = 0
0
207
* def renewalFees = 30+''
0
208
* string productName = 'RestaurantBeer'+''
0
210
* def CountyId = 1
0
211
* def CountyName = 'New York'
0
212
* def totalFees = licenseFees+fillingFees+licAncillaryFees
0
213
* def splittedCityName = CityName.replaceAll(" ","")
5
215
* call read('LicensesCommonMethods.feature@IntakeLicensewithoutAssociatedLic') {}
11456
>>
karate.UseCases.LicensesCommonMethods
7559
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
1
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* App Intake *********************
290
* call read('LicensesCommonMethods.feature@GetCountyList') {}
6868
>>
karate.UseCases.LicensesCommonMethods
4051
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
1
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
117
Given path '/internalapi/api/reference'
0
118
* def dbSts = db.cleanHeap()
3888
119
And header authorization = 'Bearer ' + strToken
1
120
And header Content-Type = 'application/json;charset=utf-8'
0
121
And header Accept = 'text/plain'
0
# * def query = {name:countyzone&onlyActives:true}
123
And params {name:countyzone,onlyActives:true}
1
#And param onlyActives='true'
125
And request {}
0
126
When method get
156
20:36:42.846 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/reference?name=countyzone&onlyActives=true
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Type: application/json;charset=utf-8
1 > Accept: text/plain
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:36:42.990 response time in milliseconds: 144
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:06:43 GMT
1 < Content-Length: 11712
{"values":[{"CountyId":1,"County":"New York","ShortName":"NEW","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T00:00:00","ModifiedBy":"esandoval","ModifiedDate":"2020-11-10T11:30:56.047"},{"CountyId":2,"County":"Kings","ShortName":"KING","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":3,"County":"Bronx","ShortName":"BRON","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":4,"County":"Queens","ShortName":"QUEE","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":5,"County":"Richmond","ShortName":"RICH","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":6,"County":"Nassau","ShortName":"NASS","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":7,"County":"Suffolk","ShortName":"SUFF","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":8,"County":"Westchester","ShortName":"WEST","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":9,"County":"Orange","ShortName":"ORAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":10,"County":"Putnam","ShortName":"PUTN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":11,"County":"Rockland","ShortName":"ROCK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":12,"County":"Albany","ShortName":"ALBA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":13,"County":"Clinton","ShortName":"CLIN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":14,"County":"Columbia","ShortName":"COLU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":15,"County":"Dutchess","ShortName":"DUTC","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":16,"County":"Essex","ShortName":"ESSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":17,"County":"Franklin","ShortName":"FRAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":18,"County":"Fulton","ShortName":"FULT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":19,"County":"Greene","ShortName":"GREE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":20,"County":"Hamilton","ShortName":"HAMI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":21,"County":"Montgomery","ShortName":"MONT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":22,"County":"Rensselaer","ShortName":"RENS","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":23,"County":"Saratoga","ShortName":"SARA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":24,"County":"Schenectady","ShortName":"SCHE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":25,"County":"Schoharie","ShortName":"SCHO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":26,"County":"Sullivan","ShortName":"SULL","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":27,"County":"Ulster","ShortName":"ULST","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":28,"County":"Warren","ShortName":"WARR","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":29,"County":"Washington","ShortName":"WASH","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":30,"County":"Allegany","ShortName":"ALLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":31,"County":"Cattaraugus","ShortName":"CATT","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":32,"County":"Chautauqua","ShortName":"CHAU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":33,"County":"Chemung","ShortName":"CHEM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":34,"County":"Erie","ShortName":"ERIE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":35,"County":"Genesee","ShortName":"GENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":36,"County":"Livingston","ShortName":"LIVI","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":37,"County":"Monroe","ShortName":"MONR","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":38,"County":"Niagara","ShortName":"NIAG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":39,"County":"Ontario","ShortName":"ONTA","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":40,"County":"Orleans","ShortName":"ORLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":41,"County":"Schuyler","ShortName":"SCHU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":42,"County":"Seneca","ShortName":"SENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":43,"County":"Steuben","ShortName":"STEU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":44,"County":"Wayne","ShortName":"WAYN","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":45,"County":"Wyoming","ShortName":"WYOM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":46,"County":"Yates","ShortName":"YATE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":47,"County":"Broome","ShortName":"BROO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":48,"County":"Chenango","ShortName":"CHEN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":49,"County":"Cortland","ShortName":"CORT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":50,"County":"Delaware","ShortName":"DELA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":51,"County":"Herkimer","ShortName":"HERK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":52,"County":"Jefferson","ShortName":"JEFF","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":53,"County":"Lewis","ShortName":"LEWI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":54,"County":"Madison","ShortName":"MADI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":55,"County":"Oneida","ShortName":"ONEI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":56,"County":"Onondaga","ShortName":"ONON","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":57,"County":"Oswego","ShortName":"OSWE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":58,"County":"Otsego","ShortName":"OTSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":59,"County":"St. Lawrence","ShortName":"ST L","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":60,"County":"Cayuga","ShortName":"CAYU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":61,"County":"Tioga","ShortName":"TIOG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":62,"County":"Tompkins","ShortName":"TOMP","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.6","ModifiedBy":null,"ModifiedDate":null}],"name":"countyzone","schema":[{"columnName":"CountyId","dataType":"int","maxLenght":null,"isRequired":true},{"columnName":"County","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ShortName","dataType":"nvarchar","maxLenght":10,"isRequired":false},{"columnName":"ZoneNo","dataType":"int","maxLenght":null,"isRequired":false},{"columnName":"IsActive","dataType":"bit","maxLenght":null,"isRequired":false},{"columnName":"CreatedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"CreatedDate","dataType":"datetime","maxLenght":null,"isRequired":false},{"columnName":"ModifiedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ModifiedDate","dataType":"datetime","maxLenght":null,"isRequired":false}]}
127
* configure continueOnStepFailure = true
0
128
Then status 200
0
129
And def values = response.values
0
130
* configure continueOnStepFailure = true
0
291
* def countyData = karate.jsonPath(values, "$[?(@.CountyId == '" + CountyId + "')]")
2
292
* def countyZone = countyData[0].ZoneNo
1
293
And print countyZone
0
20:36:43.052 [print] 1
294
Given path '/internalapi/api/licensing/selectapptype/savenewlicenseapp'
0
295
* def dbSts = db.cleanHeap()
264
296
And header authorization = 'Bearer ' + strToken
0
297
And header Content-Type = 'application/json; charset=utf-8'
0
298
And header Accept = 'application/json; text/plain;*/*'
0
#* def CountysId = <countyIds>
# And print CountysId
#* string CountysName = <countynames>
# And print CountysName
#* def mainLicensePermitTypeId = <LicensePermitTypeId>
# And print mainLicensePermitTypeId
#* string ProductType = <ProductTypes>
#* string LicenseDescription = <LicDescription>
# And print ProductType
309
And request {"mainLicensePermitTypeId":'#(mainLicensePermitTypeId)',"newPermitTypeIds":[],"combinedCraftId":null,"masterFileId":null,"isApplicableForTempPermit":false,"isNotQualified":false,"isChainRestaurant":false,"addBarList":[],"countyId":'#(CountyId)',"isApplicantCurrentLicensed":false,"isExistingManufacturer":false,"selectedLicense":null,"isAssociatedTempPermit":false}
0
311
When method post
157
20:36:43.317 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/selectapptype/savenewlicenseapp
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 327
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"mainLicensePermitTypeId":40,"newPermitTypeIds":[],"combinedCraftId":null,"masterFileId":null,"isApplicableForTempPermit":false,"isNotQualified":false,"isChainRestaurant":false,"addBarList":[],"countyId":1,"isApplicantCurrentLicensed":false,"isExistingManufacturer":false,"selectedLicense":null,"isAssociatedTempPermit":false}
20:36:43.473 response time in milliseconds: 156
1 < 200
1 < Content-Length: 234
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:06:43 GMT
[{"childAppId":null,"mainApplicationId":"NA-0111-22-119158","childApplicationId":null,"licensePermitTypeId":40,"description":"Restaurant-Beer","parentApplicationId":"NA-0111-22-119158","parentAppId":13995,"appId":13995,"formId":1165}]
312
* configure continueOnStepFailure = true
0
313
Then status 200
0
315
And def ApplicationId = response[0].mainApplicationId
0
316
And print ApplicationId
0
20:36:43.474 [print] NA-0111-22-119158
317
And match ApplicationId contains 'NA-'
0
319
* def currentYear = '-'+getYearFunc()+'-'+countyZone
9
320
And match ApplicationId contains currentYear
0
321
And def description = response[0].description
0
323
And def appId = response[0].appId
0
325
* def formId = response[0].formId
0
326
* def FormVersionId = response[0].FormVersionId
0
328
Given path '/internalapi/api/application/preview/'+appId
0
329
* def dbSts = db.cleanHeap()
98
330
And header authorization = 'Bearer ' + strToken
0
331
And header Content-Type = 'application/json; charset=utf-8'
0
332
And header Accept = 'application/json; text/plain;*/*'
0
333
And configure continueOnStepFailure = true
0
334
And request {}
0
335
When method get
152
20:36:43.584 request:
2 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13995
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > Content-Length: 2
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{}
20:36:43.735 response time in milliseconds: 151
2 < 200
2 < Content-Length: 185
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:06:43 GMT
{"applicationId":"NA-0111-22-119158","submitDate":null,"licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Draft"},"isLicenseApplication":true,"isPreFilled":false}
336
* configure continueOnStepFailure = true
0
337
Then status 200
0
338
And def licStatus = response.appStatus.statusDescription
0
339
And print licStatus
0
20:36:43.735 [print] Draft
340
And match licStatus == 'Draft'
0
216
* def CountyName = "New York"
0
217
* call read('LicensesCommonMethods.feature@FillAndSaveApplicantInformationPage') {county:'#(CountyName)'}
3487
>>
karate.UseCases.LicensesCommonMethods
226
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
1
6
* def db = new DbUtils(config)
1
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
5
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
700
* def getDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
709
Given path '/internalapi/api/licensing/app/static/applicantinfo/save/'+appId
0
710
And header Content-Type = 'application/json; charset=utf-8'
0
712
* def autoFirstName = firstName + getDate()
1
713
* def legalName = autoFirstName + lastName
0
714
And header Accept = 'application/json; text/plain;*/*'
0
715
And header authorization = 'Bearer ' + strToken
0
716
And request {"businessInfo":{"website":null,"businessEntity":{"individualOrganization":'#(indOrgCode)',"corporateStructure":'#(CorporateStructureDropDownCode)',"firstName":'#(autoFirstName)',"lastName":'#(lastName)',"middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":'#(legalName)',"id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":'#(IndOrgSelectionDropDown)',"corporateStructureText":'#(CorporateStructureDropDown)',"isIndividual":'#(isIndStatus)'},"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"2","phoneTypeText":"Office","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
1
717
When method post
213
20:36:46.974 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/applicantinfo/save/13995
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Length: 2167
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"businessInfo":{"website":null,"businessEntity":{"individualOrganization":1,"corporateStructure":1,"firstName":"Automation20221115203646","lastName":"Automation","middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":"Automation20221115203646Automation","id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":"Individual","corporateStructureText":"Individual","isIndividual":true},"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"2","phoneTypeText":"Office","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
20:36:47.186 response time in milliseconds: 211
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:06:47 GMT
1 < Content-Length: 2191
{"businessInfo":{"id":0,"website":null,"isLicensed":false,"isAssociated":false,"businessEntity":{"id":4018,"individualOrganization":"1","corporateStructure":1,"isEmployeeForSoleProprietor":null,"firstName":"Automation20221115203646","lastName":"Automation","middleName":"AutoMidName","ssn":"","fein":"","legalName":"Automation20221115203646Automation","suffix":"1","corporateStructureText":"Individual","individualOrganizationText":"Individual","isIndividual":true},"address":{"addressId":29472,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"US","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25380,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":7866,"phoneType":3,"countryCode":"91","phone":"999-999-9999","phoneExtension":"1234"}]}},"premisesInfo":{"id":13198,"dba":null,"countyId":1,"countyName":"New York","isDbaSearched":null,"isPremisesRequired":true,"licensePermitID":"","address":{"addressId":29473,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"US","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25381,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":7867,"phoneType":2,"countryCode":"+91","phone":"999-999-9999","phoneExtension":"1234"}]}},"applicantDetail":{"id":9790,"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"isPhysicalChange":null,"applicantStatement":{"id":4331,"nameOfApplicant":null,"title":null,"signature":null,"date":null}}}
718
Then status 200
0
218
* call read('LicensesCommonMethods.feature@FillAndSavePrincipalPage') {}
2168
>>
karate.UseCases.LicensesCommonMethods
189
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
1
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
745
* def getDate1 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
754
Given path '/internalapi/api/licensing/app/static/principal/save/'+appId
0
755
And header Content-Type = 'application/json; charset=utf-8'
0
756
* def prncipalName = firstName + getDate1()
1
757
* def dt = licDate()
1
758
And header Accept = 'application/json; text/plain;*/*'
0
759
And header authorization = 'Bearer ' + strToken
0
760
And request {"entities":[],"principals":[{"principalId":0,"convictedOfCrime":'#(convictedOfCrime)',"percentageOfOwners":'#(percentageOfOwners)',"isFingerprintRequired":'#(isFingerprintRequired)',"isFingerprintsApproved":'#(isFingerprintsApproved)',"title":"15","numberOfShares":"","isSignature":false,"date":'#(dt)',"address":{"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"stateId":'#(stateCode)',"county":'#(CountyName)',"city":"New York","zipCode":'#(zipCode)',"zip4":'#(postalCode)',"country":'#(countryName)',"stateName":'#(CityName)',"countryId":229,"zip":'#(zipCode)'},"person":{"personId":0,"firstName":'#(prncipalName)',"middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":'#(dt)',"age":"","choosedEntity":null,"ssnFormat":"","suffixText":"JR"},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":'#(emailId)',"confirmEmail":'#(emailId)'},"titleText":"Vice President","convictedOfCrimeText":"No","disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
0
# {"entities":[],"principals":[{"principalId":0,"convictedOfCrime":"" ,"percentageOfOwners":"" ,"isFingerprintRequired":true ,"isFingerprintsApproved":true ,"title":"","dcjsFingerPrintStatus":"","numberOfShares":"","isSignature":"","date":"","address":{"addressLine1":"","addressLine2":"","stateId":40,"county":"","city":"","zipCode":"","zip4":"","country":"United States (US)","stateName":"New York","countryId":229,"zip":""},"person":{"personId":0,"firstName":"XA","middleName":"","lastName":"sa","suffix":"","socialSecurityNo":"","birthDate":"","age":"","choosedEntity":null,"ssnFormat":""},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":null,"confirmEmail":null},"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
762
When method post
182
20:36:49.193 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/principal/save/13995
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Length: 1107
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"entities":[],"principals":[{"principalId":0,"convictedOfCrime":"1","percentageOfOwners":"20","isFingerprintRequired":true,"isFingerprintsApproved":true,"title":"15","numberOfShares":"","isSignature":false,"date":"2022-11-15T20:36:49.191Z","address":{"addressLine1":"Address1","addressLine2":"Address2","stateId":40,"county":"New York","city":"New York","zipCode":"12345","zip4":"1234","country":"United States (US)","stateName":"New York","countryId":229,"zip":"12345"},"person":{"personId":0,"firstName":"Automation20221115203649","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T20:36:49.191Z","age":"","choosedEntity":null,"ssnFormat":"","suffixText":"JR"},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":"automation@svam.com","confirmEmail":"automation@svam.com"},"titleText":"Vice President","convictedOfCrimeText":"No","disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
20:36:49.372 response time in milliseconds: 179
1 < 200
1 < Content-Length: 1390
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:06:49 GMT
{"entities":[],"principals":[{"principalId":3318,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":true,"isFingerprintsApproved":true,"percentageOfOwners":20.0,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","entities":null,"numberOfShares":"","isSignature":false,"isRemove":false,"date":"2022-11-15T00:00:00","convictedOfCrime":"1","title":"15","isLicensed":false,"isAssociated":false,"person":{"personId":5635,"firstName":"Automation20221115203649","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T00:00:00","serialNo":0,"age":0,"choosedEntity":[]},"address":{"addressId":29474,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25382,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}}]}
763
Then status 200
0
219
* call read('LicensesCommonMethods.feature@FillAndSaveRepresentativePage') {}
1811
>>
karate.UseCases.LicensesCommonMethods
264
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Representative *********************
790
Given path '/internalapi/api/licensing/app/static/rep/save/'+appId
0
791
And header authorization = 'Bearer ' + strToken
0
792
And request {"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":'#(CountyName)',"city":'#(CityName)',"zipCode":"10011","country":"United States (US)","stateName":'#(CityName)',"countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
0
793
When method post
262
20:36:50.956 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/rep/save/13995
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 897
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":"New York","city":"New York","zipCode":"10011","country":"United States (US)","stateName":"New York","countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
20:36:51.218 response time in milliseconds: 262
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:06:51 GMT
1 < Content-Length: 4
true
794
Then status 200
0
795
And def serverResponse = response
0
220
* call read('LicensesCommonMethods.feature@FillAndSaveMethodOfOperationPage') {}
1484
>>
karate.UseCases.LicensesCommonMethods
178
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
6389
* def getDate1 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
6398
Given path '/internalapi/api/licensing/app/save'
0
6399
And header Content-Type = 'application/json; charset=utf-8'
0
6400
* def prncipalName = firstName + getDate1()
0
6401
* def dt = licDate()
0
6402
And header Accept = 'application/json; text/plain;*/*'
0
6403
And header authorization = 'Bearer ' + strToken
0
6404
And request {"isApproved":false,"appId":'#(appId)',"formID":1165,"applicationID":"","formName":"","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":1,"formCategory":{},"formCategoryId":1,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and Policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1993,"key":"","label":"Will the business employ a manager?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1994,"key":"","label":"If no, will the principals manage?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1995,"key":"","label":"If Premises is not a caterer establishment, will the premises periodically close to host private events?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1996,"key":"","label":"If Yes, How Frequently?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"Yes","fieldID":1997,"key":"","label":"Will the premises have music?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1998,"key":"","label":"If Live Music, Give Details","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1999,"key":"","label":"Will the premises use the service of an event promoter?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":2000,"key":"","label":"Will the Premises Permit Dancing?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2001,"key":"","label":"Will there be exotic dancing, including but not limited to topless entertainment, pole dancing and or lap dancing?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":2002,"key":"","label":"Will there be topless entertainment?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":16,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2003,"key":"","label":"Will Security Personnel be used at the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":17,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2004,"key":"","label":"How many?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":18,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2005,"key":"","label":"Provide your proprietary security guard employer unique Identification number assigned to the business by the NYS Department of State Division of Licensing Services or the name of the security company through which the security personnel will be hired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":19,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2006,"key":"","label":"Provide a detailed plan of supervision for the premises to be licensed. Clearly describe how you will maintain control and order over the licensed premises. How will you monitor alcohol sales and prevent sales to minors and sales to intoxicated persons? How will you handle unruly patrons, altercations, etc., to prevent the premises from becoming disorderly?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":20,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":2007,"key":"","label":"Are all responses provided in the application consistent with the information provided to the municipality or community board within the standardized notice form for providing thirty day advance notice","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":21,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2008,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":22,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"4","fieldID":2051,"key":"","label":"If Yes, check all that apply","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2052,"key":"","label":"Who will be permitted to dance?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"Method_of_Operation","key":"0","label":"Method Of Operation","order":11,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isStatic":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"parentSection":"","subSections":[],"sectionFieldOrders":[],"address":{"addressLine1":"","addressLine2":"","stateId":null,"county":"","city":"","zipCode":"","zip4":"","country":"United States (US)","stateName":"","countryId":229}}],"formVersionId":1699,"version":25,"licenseDescription":"Restaurant-Beer","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"showAbcOfficer":false,"showCorpChange":false,"showEndorsement":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant_Information","Principal","Representative","Landlord_Identification","Personal_Questionnaire"],"showPQ":true,"showCC":false,"showManuOnPrem":false,"licPermitTypeId":40,"tabVisitied":{"Applicant Information":false,"Principal":false,"Representative":false,"Landlord Identification":false,"Personal Questionnaire":false}}
0
6406
When method post
175
20:36:52.529 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Length: 12993
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13995,"formID":1165,"applicationID":"","formName":"","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":1,"formCategory":{},"formCategoryId":1,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and Policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1993,"key":"","label":"Will the business employ a manager?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1994,"key":"","label":"If no, will the principals manage?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1995,"key":"","label":"If Premises is not a caterer establishment, will the premises periodically close to host private events?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1996,"key":"","label":"If Yes, How Frequently?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"Yes","fieldID":1997,"key":"","label":"Will the premises have music?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1998,"key":"","label":"If Live Music, Give Details","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1999,"key":"","label":"Will the premises use the service of an event promoter?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":2000,"key":"","label":"Will the Premises Permit Dancing?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2001,"key":"","label":"Will there be exotic dancing, including but not limited to topless entertainment, pole dancing and or lap dancing?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":2002,"key":"","label":"Will there be topless entertainment?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":16,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2003,"key":"","label":"Will Security Personnel be used at the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":17,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2004,"key":"","label":"How many?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":18,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2005,"key":"","label":"Provide your proprietary security guard employer unique Identification number assigned to the business by the NYS Department of State Division of Licensing Services or the name of the security company through which the security personnel will be hired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":19,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2006,"key":"","label":"Provide a detailed plan of supervision for the premises to be licensed. Clearly describe how you will maintain control and order over the licensed premises. How will you monitor alcohol sales and prevent sales to minors and sales to intoxicated persons? How will you handle unruly patrons, altercations, etc., to prevent the premises from becoming disorderly?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":20,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":2007,"key":"","label":"Are all responses provided in the application consistent with the information provided to the municipality or community board within the standardized notice form for providing thirty day advance notice","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":21,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2008,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":22,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"4","fieldID":2051,"key":"","label":"If Yes, check all that apply","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2052,"key":"","label":"Who will be permitted to dance?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"Method_of_Operation","key":"0","label":"Method Of Operation","order":11,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isStatic":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"parentSection":"","subSections":[],"sectionFieldOrders":[],"address":{"addressLine1":"","addressLine2":"","stateId":null,"county":"","city":"","zipCode":"","zip4":"","country":"United States (US)","stateName":"","countryId":229}}],"formVersionId":1699,"version":25,"licenseDescription":"Restaurant-Beer","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"showAbcOfficer":false,"showCorpChange":false,"showEndorsement":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant_Information","Principal","Representative","Landlord_Identification","Personal_Questionnaire"],"showPQ":true,"showCC":false,"showManuOnPrem":false,"licPermitTypeId":40,"tabVisitied":{"Applicant Information":false,"Principal":false,"Representative":false,"Landlord Identification":false,"Personal Questionnaire":false}}
20:36:52.703 response time in milliseconds: 173
1 < 200
1 < Content-Length: 51
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:06:52 GMT
{"appId":13995,"applicationId":"NA-0111-22-119158"}
6407
Then status 200
0
221
* call read('LicensesCommonMethods.feature@FeesValidation') {amount:'#(totalFees)'}
3292
>>
karate.UseCases.LicensesCommonMethods
2077
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
2
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
810
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
820
* def futureDate = futureDateFunc()
1
822
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
832
* def date = getDate2()
0
834
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
835
And header Content-Type = 'application/json; charset=utf-8'
0
836
And header Accept = 'application/json; text/plain;*/*'
0
837
And header authorization = 'Bearer ' + strToken
0
838
And request {}
0
839
When method get
231
20:36:53.919 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/13995
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:36:54.149 response time in milliseconds: 230
1 < 200
1 < Content-Length: 658
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:06:54 GMT
[{"licenseName":"Restaurant - Beer","applicationId":"NA-0111-22-119158","applicationTypeId":1,"appFeesId":0,"appId":13995,"feesRefId":6039,"initialFees":0.0,"licensingFees":960.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":100.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":false,"isBondRequired":true,"bondFee":1000.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
840
Then status 200
0
841
And def serverResponse = response
0
842
* def licTerm = serverResponse[0].term
0
843
* def licFees = serverResponse[0].licensingFees+''
0
844
* def licTermDesc = serverResponse[0].termDesc
0
845
* def licFeesRefId = serverResponse[0].feesRefId
0
846
* def licAncillaryFees = serverResponse[0].ancillaryFees+''
0
847
* def licfilingFees = serverResponse[0].filingFees+''
0
848
* def licInitialFees = serverResponse[0].initialFees
0
849
* def bndFees = serverResponse[0].bondFee
0
850
* def isBondRequired = serverResponse[0].isBondRequired
0
851
And def totalFees = serverResponse[0].licensingFees+serverResponse[0].filingFees
0
852
And print totalFees
0
20:36:54.151 [print] 1060.0
855
Given path '/internalapi/api/notification/SaveNotification'
0
857
And header Content-Type = 'application/json; charset=utf-8'
0
858
And header Accept = 'application/json; text/plain;*/*'
0
859
And header authorization = 'Bearer ' + strToken
0
860
And request {"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}
0
861
When method post
232
20:36:54.151 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/notification/SaveNotification
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
2 > Content-Length: 2006
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13995,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13995,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13995,"createdBy":"Tarun Gupta"}
20:36:54.383 response time in milliseconds: 232
2 < 200
2 < Content-Length: 5
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:06:54 GMT
false
862
Then status 200
0
863
And print response
0
20:36:54.383 [print] false
# And header Content-Type = 'application/json; charset=utf-8'
869
Given path 'internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
871
And header Accept = 'application/json; text/plain;*/*'
0
872
And header authorization = 'Bearer ' + strToken
0
874
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(amount)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(licTerm)',"termDesc":'#(licTermDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
875
When method post
209
20:36:54.385 request:
3 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13995/false
3 > Accept: application/json; text/plain;*/*
3 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
3 > Content-Type: application/json; charset=UTF-8
3 > Content-Length: 5071
3 > Host: slaleapqaapi.svam.com
3 > Connection: Keep-Alive
3 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
3 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":13995,"slaintakeDate":"2022-11-15T20:36:53.918Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T20:36:53.918Z","amount":1060}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-119158","applicationTypeId":1,"appFeesId":0,"appId":13995,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":1060.0,"filingFees":"100","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T20:36:53.916Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13995,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13995,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13995,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13995,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13995,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13995,"createdBy":"Tarun Gupta"},"taskId":null}
20:36:54.592 response time in milliseconds: 207
3 < 200
3 < Content-Type: application/json; charset=utf-8
3 < Server: Microsoft-IIS/10.0
3 < Strict-Transport-Security: max-age=2592000
3 < X-Powered-By: ASP.NET
3 < Date: Tue, 15 Nov 2022 15:06:54 GMT
3 < Content-Length: 4
true
876
Then status 200
0
878
Given path 'internalapi/api/licensing/fees/check-payments/get/'+appId
0
879
And header authorization = 'Bearer ' + strToken
0
880
And request {}
0
881
When method get
190
20:36:54.594 request:
4 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/check-payments/get/13995
4 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
4 > Content-Type: application/json; charset=UTF-8
4 > Content-Length: 2
4 > Host: slaleapqaapi.svam.com
4 > Connection: Keep-Alive
4 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
4 > Accept-Encoding: gzip,deflate
{}
20:36:54.782 response time in milliseconds: 188
4 < 200
4 < Content-Type: application/json; charset=utf-8
4 < Server: Microsoft-IIS/10.0
4 < Strict-Transport-Security: max-age=2592000
4 < X-Powered-By: ASP.NET
4 < Date: Tue, 15 Nov 2022 15:06:54 GMT
4 < Content-Length: 442
[{"checkDetailId":2393,"appId":13995,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T00:00:00","slaintakeDate":"2022-11-15T00:00:00","amount":1060.0000,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T10:06:54.593","modifiedBy":null,"modifiedDate":null}]
882
Then status 200
0
883
And def checkDetailId = response[0].checkDetailId
1
884
And print checkDetailId
0
20:36:54.784 [print] 2393
885
* def amount = response[0].amount
0
886
* def underpaidAmount = totalFees-amount
0
888
And print 'underpaidAmount- ',underpaidAmount
0
20:36:54.784 [print] underpaidAmount- 0.0
890
Given path '/internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
891
And header Content-Type = 'application/json; charset=utf-8'
0
892
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
903
* def futureDate = futureDateFunc()
3
904
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
913
* def date = getDate2()
1
915
And header Accept = 'application/json; text/plain;*/*'
0
916
And header authorization = 'Bearer ' + strToken
0
917
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(totalFees)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":'#(licInitialFees)',"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees)',"totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":'#(licAncillaryFees)',"isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
1
920
When method post
200
20:36:54.790 request:
5 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13995/false
5 > Content-Type: application/json; charset=utf-8
5 > Accept: application/json; text/plain;*/*
5 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
5 > Content-Length: 5068
5 > Host: slaleapqaapi.svam.com
5 > Connection: Keep-Alive
5 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
5 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":13995,"slaintakeDate":"2022-11-15T20:36:54.788Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T20:36:54.788Z","amount":1060.0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-119158","applicationTypeId":1,"appFeesId":0,"appId":13995,"feesRefId":6039,"initialFees":0.0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"30","totalFees":1060.0,"filingFees":"100","ancillaryFees":"0","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T20:36:53.916Z","emailNotificationDetail":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13995,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13995,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13995,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13995,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13995,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13995,"createdBy":"Tarun Gupta"},"taskId":null}
20:36:54.990 response time in milliseconds: 200
5 < 200
5 < Content-Length: 4
5 < Content-Type: application/json; charset=utf-8
5 < Server: Microsoft-IIS/10.0
5 < Strict-Transport-Security: max-age=2592000
5 < X-Powered-By: ASP.NET
5 < Date: Tue, 15 Nov 2022 15:06:54 GMT
true
921
Then status 200
0
# ********* SAVE Application Details To Save *********************
928
Given path '/internalapi/api/licensing/app/save'
0
929
And header authorization = 'Bearer ' + strToken
0
930
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
931
When method post
314
20:36:54.993 request:
6 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
6 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
6 > Content-Type: application/json; charset=UTF-8
6 > Content-Length: 30721
6 > Host: slaleapqaapi.svam.com
6 > Connection: Keep-Alive
6 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
6 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13995,"formID":1165,"applicationID":"NA-0111-22-119158","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
20:36:55.305 response time in milliseconds: 312
6 < 200
6 < Content-Length: 51
6 < Content-Type: application/json; charset=utf-8
6 < Server: Microsoft-IIS/10.0
6 < Strict-Transport-Security: max-age=2592000
6 < X-Powered-By: ASP.NET
6 < Date: Tue, 15 Nov 2022 15:06:55 GMT
{"appId":13995,"applicationId":"NA-0111-22-119158"}
932
Then status 200
0
935
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
936
And header authorization = 'Bearer ' + strToken
0
937
And header Content-Type = 'application/json; charset=utf-8'
0
938
And header Accept = 'application/json; text/plain;*/*'
0
939
And request ""
0
940
When method get
208
20:36:55.306 request:
7 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/13995
7 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
7 > Content-Type: application/json; charset=utf-8
7 > Accept: application/json; text/plain;*/*
7 > Content-Length: 0
7 > Host: slaleapqaapi.svam.com
7 > Connection: Keep-Alive
7 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
7 > Accept-Encoding: gzip,deflate
20:36:55.514 response time in milliseconds: 208
7 < 200
7 < Content-Length: 660
7 < Content-Type: application/json; charset=utf-8
7 < Server: Microsoft-IIS/10.0
7 < Strict-Transport-Security: max-age=2592000
7 < X-Powered-By: ASP.NET
7 < Date: Tue, 15 Nov 2022 15:06:55 GMT
[{"licenseName":"Restaurant - Beer","applicationId":"NA-0111-22-119158","applicationTypeId":1,"appFeesId":3126,"appId":13995,"feesRefId":6039,"initialFees":0.0,"licensingFees":960.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":100.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
941
Then status 200
0
942
And print response[0].appFeesId
0
20:36:55.514 [print] 3126
943
And def appFeesId1 = response[0].appFeesId
0
944
And def feesRefId1 = response[0].feesRefId
0
945
And print appFeesId1
0
20:36:55.515 [print] 3126
946
And print feesRefId1
0
20:36:55.515 [print] 6039
947
And def applicationTypeId = response[0].applicationTypeId
0
948
And print applicationTypeId
0
20:36:55.515 [print] 1
# ********* Save PAYMENT *********************
951
Given path '/internalapi/api/licensing/fees/details/save/'+appId +'/false'
0
953
* def slaDate = licFeesDate()
1
954
* def slaaDate = licDate()
0
955
* def licInitialFees1 = licInitialFees+''
0
956
And print licInitialFees1
0
20:36:55.516 [print] 0
957
* def renewalFees1 = renewalFees+''
0
958
And print renewalFees1
0
20:36:55.516 [print] 30
959
* def totalFees1 = totalFees+''
0
961
And print totalFees1
0
20:36:55.516 [print] 1060
962
* def licAncillaryFees1 = licAncillaryFees+''
0
963
* def licfilingFees1 = licfilingFees+''
0
965
And header authorization = 'Bearer ' + strToken
0
966
And request {"checks":[{"checkDetailId":'#(checkDetailId)',"appId":'#(appId)',"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":'#(date)',"slaintakeDate":'#(date)',"amount":'#(amount)',"appliedTo":null,"amountUsed":'#(amount)',"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":'#(date)',"modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":'#(licFeesRefId)',"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees1)',"filingFees":'#(licfilingFees1)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(underpaidAmount)',"amountReceived":'#(amount)',"waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":'#(appId)',"checkDetailId":'#(checkDetailId)',"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":'#(amount)',"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
971
When method post
232
20:36:55.517 request:
8 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13995/false
8 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
8 > Content-Type: application/json; charset=UTF-8
8 > Content-Length: 5458
8 > Host: slaleapqaapi.svam.com
8 > Connection: Keep-Alive
8 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
8 > Accept-Encoding: gzip,deflate
{"checks":[{"checkDetailId":2393,"appId":13995,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T20:36:54.788Z","slaintakeDate":"2022-11-15T20:36:54.788Z","amount":1060.0,"appliedTo":null,"amountUsed":1060.0,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T20:36:54.788Z","modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-119158","applicationTypeId":1,"appFeesId":6039,"appId":13995,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":"1060","filingFees":"100","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":1060.0,"waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":13995,"checkDetailId":2393,"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":1060.0,"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":"2022-11-22T20:36:53.916Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13995,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13995,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13995,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13995,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13995,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13995,"createdBy":"Tarun Gupta"},"taskId":null}
20:36:55.748 response time in milliseconds: 231
8 < 200
8 < Content-Length: 4
8 < Content-Type: application/json; charset=utf-8
8 < Server: Microsoft-IIS/10.0
8 < Strict-Transport-Security: max-age=2592000
8 < X-Powered-By: ASP.NET
8 < Date: Tue, 15 Nov 2022 15:06:55 GMT
true
972
Then status 200
0
973
And print response
0
20:36:55.749 [print] true
# ********* SAVE Application Details To Save *********************
978
Given path '/internalapi/api/licensing/app/save'
0
979
And header authorization = 'Bearer ' + strToken
0
980
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
981
When method post
244
20:36:55.751 request:
9 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
9 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
9 > Content-Type: application/json; charset=UTF-8
9 > Content-Length: 30721
9 > Host: slaleapqaapi.svam.com
9 > Connection: Keep-Alive
9 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
9 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13995,"formID":1165,"applicationID":"NA-0111-22-119158","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
20:36:55.993 response time in milliseconds: 242
9 < 200
9 < Content-Length: 51
9 < Content-Type: application/json; charset=utf-8
9 < Server: Microsoft-IIS/10.0
9 < Strict-Transport-Security: max-age=2592000
9 < X-Powered-By: ASP.NET
9 < Date: Tue, 15 Nov 2022 15:06:55 GMT
{"appId":13995,"applicationId":"NA-0111-22-119158"}
982
Then status 200
0
983
And def serverResponse = response
0
223
* call read('LicensesCommonMethods.feature@SubmitLicenseAndValidateLicStatus') {expStatus:'Awaiting Review'}
3802
>>
karate.UseCases.LicensesCommonMethods
2819
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Application SUBMIT *********************
1099
Given path '/internalapi/api/licensing/app/submit'
0
1100
And header authorization = 'Bearer ' + strToken
0
1101
And request {"appId":'#(appId)',"wfType":null}
0
1102
When method post
286
20:36:56.979 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/submit
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 29
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"appId":13995,"wfType":null}
20:36:57.264 response time in milliseconds: 284
1 < 200
1 < Content-Length: 123
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:06:57 GMT
{"success":true,"submittedApps":[{"success":true,"taskId":0,"appId":13995,"applicationId":"NA-0111-22-119158","error":""}]}
1103
Then status 200
0
1104
And def serverResponse = response
0
1105
And match response.success == true
0
1106
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
2530
>>
karate.UseCases.LicensesCommonMethods
992
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
803
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
183
20:36:59.614 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13995
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:36:59.786 response time in milliseconds: 172
1 < 200
1 < Content-Length: 216
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:06:59 GMT
{"applicationId":"NA-0111-22-119158","submitDate":"2022-11-15T10:06:57.133","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
1
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:36:59.788 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
0
224
* call read('LicensesCommonMethods.feature@AssignApplicationsToExaminer') {}
1922
>>
karate.UseCases.LicensesCommonMethods
1277
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* AssignApplicationsSaveDigestDataToExaminer *********************
1139
Given path '/internalapi/api/licensing/examiner/assignApplicationsToExaminer'
0
1140
And header authorization = 'Bearer ' + strToken
0
1141
And request [{"appId":'#(appId)',"examinerId":1069,"priority":"Normal"}]
0
1142
When method post
209
20:37:00.444 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner/assignApplicationsToExaminer
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 55
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"appId":13995,"examinerId":1069,"priority":"Normal"}]
20:37:00.653 response time in milliseconds: 209
1 < 200
1 < Content-Length: 5
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:06:59 GMT
false
1143
And def serverResponse = response
0
1144
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
1065
>>
karate.UseCases.LicensesCommonMethods
361
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
136
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
222
20:37:01.490 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13995
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:37:01.712 response time in milliseconds: 222
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:01 GMT
1 < Content-Length: 216
{"applicationId":"NA-0111-22-119158","submitDate":"2022-11-15T10:06:57.133","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:37:01.712 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
0
225
* call read('LicensesCommonMethods.feature@ExaminerReviewApprovalToLB') {}
1619
>>
karate.UseCases.LicensesCommonMethods
1129
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Examiner Review Approval to LB *********************
1149
* def summisionDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS");
var date = new java.util.Date();
return sdf.format(date);
}
1157
Given path '/internalapi/api/licensing/examiner-review/SaveNewLicense'
0
1158
* def formatedSumbitDate = summisionDate()
0
1159
And header authorization = 'Bearer ' + strToken
0
1160
And header current-wfroleid = 4
0
1161
And request {"isFingerPrintsApproved":false,"isFingerPrintsRequired":false,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"application":{"applicationCategory":1,"appId":'#(appId)',"applicationId":'#(ApplicationId)',"licePermitTypeId":null,"applicationTypeId":1,"formVersionId":1231,"formId":'#(formId)',"legalName":'#(legalName)',"submitDate":'#(formatedSumbitDate)',"isGISRequired":null,"licenseDescription":'#(description)',"recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":'#(CityName)',"priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Awaiting Review","taskId":1026,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":null,"memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":1069,"appId":'#(appId)',"examinerId":1069,"name":null,"assignDate":'#(formatedSumbitDate)',"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":'#(mainLicensePermitTypeId)',"type":"1","category":"1","product":'#(productName)',"class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":'#(mainLicensePermitTypeId)',"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":'#(formatedSumbitDate)'},"appId":'#(appId)',"notificationTypeId":2028,"applicationType":1,"decisionType":{"name":"Send to Licensing Board","value":2},"emailNotificationModel":{"applicant":{},"attorney":{},"communityBoard":{},"other":{}},"hasErrors":[],"taskId":1026,"newComments":"","recommendedDecisionId":null};
0
1162
When method post
296
20:37:02.210 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner-review/SaveNewLicense
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > current-wfroleid: 4
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 3055
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"isFingerPrintsApproved":false,"isFingerPrintsRequired":false,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"application":{"applicationCategory":1,"appId":13995,"applicationId":"NA-0111-22-119158","licePermitTypeId":null,"applicationTypeId":1,"formVersionId":1231,"formId":1165,"legalName":"Automation20221115203646Automation","submitDate":"2022-11-15T20:37:02.209","isGISRequired":null,"licenseDescription":"Restaurant-Beer","recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":"New York","priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Awaiting Review","taskId":1026,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":null,"memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":1069,"appId":13995,"examinerId":1069,"name":null,"assignDate":"2022-11-15T20:37:02.209","isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":40,"type":"1","category":"1","product":"RestaurantBeer","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":40,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":"2022-11-15T20:37:02.209"},"appId":13995,"notificationTypeId":2028,"applicationType":1,"decisionType":{"name":"Send to Licensing Board","value":2},"emailNotificationModel":{"applicant":{},"attorney":{},"communityBoard":{},"other":{}},"hasErrors":[],"taskId":1026,"newComments":"","recommendedDecisionId":null}
20:37:02.506 response time in milliseconds: 296
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:01 GMT
1 < Content-Length: 4
true
1163
Then status 200
0
1164
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
830
>>
karate.UseCases.LicensesCommonMethods
300
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
155
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
142
20:37:03.192 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13995
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:37:03.332 response time in milliseconds: 140
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:03 GMT
1 < Content-Length: 216
{"applicationId":"NA-0111-22-119158","submitDate":"2022-11-15T10:06:57.133","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:37:03.332 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
0
226
* call read('LicensesCommonMethods.feature@LBClaimingQueue') {}
1725
>>
karate.UseCases.LicensesCommonMethods
1060
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* LB Claiming Queue *********************
1249
Given path 'internalapi/api/licensing/claiming-queue/add/'+appId +'/1069'
0
1250
And header authorization = 'Bearer ' + strToken
0
1251
And header current-wfroleid = 5
0
1252
And request {}
0
1253
When method post
144
20:37:04.004 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/claiming-queue/add/13995/1069
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > current-wfroleid: 5
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:37:04.147 response time in milliseconds: 143
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:03 GMT
1 < Content-Length: 4
true
1254
Then status 200
0
1255
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
914
>>
karate.UseCases.LicensesCommonMethods
297
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
149
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
145
20:37:04.906 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13995
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:37:05.050 response time in milliseconds: 144
1 < 200
1 < Content-Length: 216
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:05 GMT
{"applicationId":"NA-0111-22-119158","submitDate":"2022-11-15T10:06:57.133","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:37:05.051 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
227
* def expirationDate = fundDueDateFunc(10)
1
228
* call read('LicensesCommonMethods.feature@LBApprovalWithDueDate') {approvalName:'Approved', expStatus:'Approved'}
2452
>>
karate.UseCases.LicensesCommonMethods
1896
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* LB Approval *********************
2346
Given path '/internalapi/api/licensing/search/GetEmailNotificationByAppIdAndNotificationTypeId/'+appId+'/0'
0
2347
And header authorization = 'Bearer ' + strToken
0
2348
And request ''
0
2349
When method get
665
20:37:05.620 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/search/GetEmailNotificationByAppIdAndNotificationTypeId/13995/0
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Type: text/plain; charset=UTF-8
1 > Content-Length: 0
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
20:37:06.284 response time in milliseconds: 664
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:05 GMT
1 < Content-Length: 1959
{"applicant":{"communicationId":25380,"email":"automation@svam.com","appId":13995,"emailContactTypeId":1,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":25383,"email":"sbandi@svam.com","appId":13995,"emailContactTypeId":2,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}}
2350
Then status 200
0
2351
And def serverResponse = response
0
2352
* def applicantCommId = serverResponse.applicant.communicationId
0
2353
* def attorneyCommId = serverResponse.attorney.communicationId
0
2355
Given path '/internalapi/api/licensing/new-license/saveDecision'
0
2356
And header authorization = 'Bearer ' + strToken
0
2357
And header current-wfroleid = 5
0
2358
* def getSelectedDecisionFunc =
0
function(value1){
if (value1 == 'Approved'){
return 1;
}
else if (value1 == 'Disapproved'){
return 2;
}
else if (value1 == 'Disapproval to Counsel'){
return 3;
}else if (value1 == 'Withdrawal'){
return 4;
}else if (value1 == 'Conditionally Approved'){
return 5;
}else if (value1 == 'FB Decision Required'){
return 6;
}else if (value1 == 'Return to Examiner'){
return 7;
}
else {
return 1;
}
}
2384
* def selectedDecisionCode = getSelectedDecisionFunc(approvalName)
0
2385
And print selectedDecisionCode
0
20:37:06.286 [print] 1
2386
And request {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"masterFileData":[],"combinedCraftData":[],"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":'#(approvalName)',"value":'#(selectedDecisionCode)'},"emailNotificationModel":{"applicant":{},"attorney":{},"other":{"email":""}},"hasErrors":[],"taskId":1151,"newComments":"","approval":{"isDefineStipulations":false,"selectInput":{"fromFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":'#(effectiveDate)',"expirationDate":'#(expirationDate)',"stipulations":[],"descriptions":[]}}
0
2388
When method post
450
20:37:06.287 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/new-license/saveDecision
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
2 > current-wfroleid: 5
2 > Content-Type: application/json; charset=UTF-8
2 > Content-Length: 2479
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"masterFileData":[],"combinedCraftData":[],"appId":13995,"applicationType":1,"applicationId":"NA-0111-22-119158","legalName":"Automation20221115203646Automation","statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{},"attorney":{},"other":{"email":""}},"hasErrors":[],"taskId":1151,"newComments":"","approval":{"isDefineStipulations":false,"selectInput":{"fromFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":"2022-11-15","expirationDate":"2022-11-25T20:37:05.065Z","stipulations":[],"descriptions":[]}}
20:37:06.736 response time in milliseconds: 449
2 < 200
2 < Content-Length: 4
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:07:06 GMT
true
2389
Then status 200
0
2390
And def serverResponse = response
0
2391
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
778
>>
karate.UseCases.LicensesCommonMethods
288
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
135
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
149
20:37:07.356 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13995
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:37:07.504 response time in milliseconds: 148
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:06 GMT
1 < Content-Length: 209
{"applicationId":"NA-0111-22-119158","submitDate":"2022-11-15T10:06:57.133","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Approved"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:37:07.505 [print] Approved
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
229
* call read('LicensesCommonMethods.feature@ValidateLicenseApplicationStatus') {LicAppStatus:'Approved'}
626
>>
karate.UseCases.LicensesCommonMethods
221
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1326
Given path 'internalapi/api/GenericSearch/SearchLicense'
0
1327
And header Content-Type = 'application/json; charset=utf-8'
0
1328
And header Accept = 'application/json; text/plain;*/*'
0
1329
And header authorization = 'Bearer ' + strToken
0
1330
And params {page:1,pageSize:10}
0
1331
And request [{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":'#(ApplicationId)'}]
0
1332
When method post
218
20:37:07.924 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/GenericSearch/SearchLicense?pageSize=10&page=1
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Length: 96
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":"NA-0111-22-119158"}]
20:37:08.140 response time in milliseconds: 216
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:08 GMT
1 < Content-Length: 684
{"data":[{"acaId":13995,"acaType":"application","applicationLicenseId":"0111-22-129139","legacySerialNo":null,"legalName":"Automation20221115203646Automation","dba":null,"licenseDescription":"Restaurant-Beer","expirationDate":"2022-11-25T00:00:00","examinerAssigned":"Tarun Gupta","premisesAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","applicantAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","feinSsn":"","formId":1165,"applicationId":"NA-0111-22-119158","licenseId":"0111-22-129139","wfRoleId":2,"applicationStatus":"Approved","licenseStatus":"Active"}],"total":1,"aggregateResults":null,"errors":null}
1333
Then status 200
0
1334
And print response
1
20:37:08.142 [print] {
"data": [
{
"acaId": 13995,
"acaType": "application",
"applicationLicenseId": "0111-22-129139",
"legacySerialNo": null,
"legalName": "Automation20221115203646Automation",
"dba": null,
"licenseDescription": "Restaurant-Beer",
"expirationDate": "2022-11-25T00:00:00",
"examinerAssigned": "Tarun Gupta",
"premisesAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"applicantAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"feinSsn": "",
"formId": 1165,
"applicationId": "NA-0111-22-119158",
"licenseId": "0111-22-129139",
"wfRoleId": 2,
"applicationStatus": "Approved",
"licenseStatus": "Active"
}
],
"total": 1,
"aggregateResults": null,
"errors": null
}
1335
* match response.data[0].applicationStatus == '#(LicAppStatus)'
1
231
* call read('LicensesCommonMethods.feature@GetLicenseId') {}
555
>>
karate.UseCases.LicensesCommonMethods
159
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
3212
Given path '/internalapi/api/licensing/LBDecision/getLicenseByAppId/' + appId +'/-1'
0
3213
And header authorization = 'Bearer ' + strToken
0
3214
* def EffectiveDate = EffDate()
0
3215
And request {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"masterFileData":[],"combinedCraftData":[],"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":null,"statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{},"attorney":{},"other":{"email":""}},"hasErrors":[],"taskId":1151,"newComments":"","approval":{"isDefineStipulations":false,"selectInput":{"fromFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":'#(EffectiveDate)',"expirationDate":'#(expiryDate)',"stipulations":[],"descriptions":[]}}
1
3216
When method get
152
20:37:08.537 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/LBDecision/getLicenseByAppId/13995/-1
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 2436
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"masterFileData":[],"combinedCraftData":[],"appId":13995,"applicationType":1,"applicationId":"NA-0111-22-119158","legalName":null,"statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{},"attorney":{},"other":{"email":""}},"hasErrors":[],"taskId":1151,"newComments":"","approval":{"isDefineStipulations":false,"selectInput":{"fromFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":"2022-11-15","expirationDate":"#(expiryDate)","stipulations":[],"descriptions":[]}}
20:37:08.689 response time in milliseconds: 152
1 < 200
1 < Content-Length: 2853
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:08 GMT
{"license":{"licId":1488,"applicationId":null,"licenseId":"0111-22-129139","licensePermitId":null,"licePermitTypeId":40,"appId":13995,"legacySerialNo":null,"issueDate":null,"expiryDate":"2025-10-31T00:00:00","effectiveDate":"2022-11-15T00:00:00","seasonalStartDate":null,"seasonalEndDate":null,"safeKeepingExpiryDate":null,"status":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"extTempPermitEnabled":false,"application":{"applicationCategory":null,"appId":null,"applicationId":null,"licePermitTypeId":null,"applicationTypeId":null,"formVersionId":null,"formId":null,"legalName":null,"submitDate":null,"isGISRequired":null,"licenseDescription":null,"recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":null,"priority":null,"expirationDate":null,"appStatusId":null,"taskStatus":null,"taskId":null,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":null,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":null,"memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":null,"isNotQualified":null,"eventDate":null,"appStatus":{"appStatusId":0,"statusDescription":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":null,"assignAppToLB":null,"licePermitType":null,"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":0,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"clericalName":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"isFairOrFestival":false,"isShowEffExpDateOnLBReview":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"options":null,"emailNotificationModel":null,"taskOptionsListNested":null,"days":0,"permit":null,"licPermitType":null,"licensePermitMapping":null,"licenseFee":null,"accountBalance":null,"licenseDescription":null,"isSeasonal":false,"isSummerSeasonal":false,"newExpiryDate":null,"amountDue":null,"originalLicenseFee":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"wfRoleId":0},"person":[],"totalRecord":0,"apps":[]}
3217
Then status 200
0
3218
And def serverResponse = response
0
3219
And print serverResponse
1
20:37:08.691 [print] {
"license": {
"licId": 1488,
"applicationId": null,
"licenseId": "0111-22-129139",
"licensePermitId": null,
"licePermitTypeId": 40,
"appId": 13995,
"legacySerialNo": null,
"issueDate": null,
"expiryDate": "2025-10-31T00:00:00",
"effectiveDate": "2022-11-15T00:00:00",
"seasonalStartDate": null,
"seasonalEndDate": null,
"safeKeepingExpiryDate": null,
"status": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null,
"extTempPermitEnabled": false,
"application": {
"applicationCategory": null,
"appId": null,
"applicationId": null,
"licePermitTypeId": null,
"applicationTypeId": null,
"formVersionId": null,
"formId": null,
"legalName": null,
"submitDate": null,
"isGISRequired": null,
"licenseDescription": null,
"recommendedDecisionId": null,
"status500": null,
"isApplicableForPDLetter": false,
"countyName": null,
"priority": null,
"expirationDate": null,
"appStatusId": null,
"taskStatus": null,
"taskId": null,
"currentWfstatus": null,
"communityBoard": null,
"isLicenseApplication": null,
"currentDueDate": null,
"isFinalDeficiency": null,
"isHighlyDeficient": null,
"isAllDeficienciesMet": null,
"pastDueDate": null,
"memo": null,
"isOneTimePermit": null,
"dueDateAction": null,
"isDisapprovedForCause": null,
"isNotQualified": null,
"eventDate": null,
"appStatus": {
"appStatusId": 0,
"statusDescription": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null
},
"applicationType": null,
"assignAppExaminer": null,
"assignAppToLB": null,
"licePermitType": null,
"assoApplicationList": [
],
"isTempPermit": null,
"isTempOrLiq": false,
"licPermitTypeId": 0,
"isAssociatedLicense": null,
"effectiveDate": null,
"assignedUserId": null,
"amendmentTypeId": null,
"amendmentType": null,
"disapprovedDate": null,
"condApprovedDate": null,
"addressId": null,
"isCaseOpen": null,
"isClosed": null,
"isCaseOpenSameAddress": null,
"isSpecialEventPlusFour": null,
"isSpecialEventInsideFiveBoroughs": null,
"licStatus": null,
"createdBy": null,
"clericalName": null,
"licenseId": null,
"address": null,
"isNybeApp": false,
"isHearingCompleted": null,
"does500FtHearingExist": null,
"parentAppStatus": null,
"premisesAppCount": 0,
"statusDescription": null,
"eventAddress": null,
"isFairOrFestival": false,
"isShowEffExpDateOnLBReview": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
"options": null,
"emailNotificationModel": null,
"taskOptionsListNested": null,
"days": 0,
"permit": null,
"licPermitType": null,
"licensePermitMapping": null,
"licenseFee": null,
"accountBalance": null,
"licenseDescription": null,
"isSeasonal": false,
"isSummerSeasonal": false,
"newExpiryDate": null,
"amountDue": null,
"originalLicenseFee": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"wfRoleId": 0
},
"person": [
],
"totalRecord": 0,
"apps": [
]
}
3220
And def licId = serverResponse.license.licId
0
3221
And def licenseId = serverResponse.license.licenseId
0
3222
And def ActEffDate = serverResponse.license.seasonalStartDate
0
3223
And def ActExpDate = serverResponse.license.expiryDate
0
3224
And print serverResponse
1
20:37:08.693 [print] {
"license": {
"licId": 1488,
"applicationId": null,
"licenseId": "0111-22-129139",
"licensePermitId": null,
"licePermitTypeId": 40,
"appId": 13995,
"legacySerialNo": null,
"issueDate": null,
"expiryDate": "2025-10-31T00:00:00",
"effectiveDate": "2022-11-15T00:00:00",
"seasonalStartDate": null,
"seasonalEndDate": null,
"safeKeepingExpiryDate": null,
"status": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null,
"extTempPermitEnabled": false,
"application": {
"applicationCategory": null,
"appId": null,
"applicationId": null,
"licePermitTypeId": null,
"applicationTypeId": null,
"formVersionId": null,
"formId": null,
"legalName": null,
"submitDate": null,
"isGISRequired": null,
"licenseDescription": null,
"recommendedDecisionId": null,
"status500": null,
"isApplicableForPDLetter": false,
"countyName": null,
"priority": null,
"expirationDate": null,
"appStatusId": null,
"taskStatus": null,
"taskId": null,
"currentWfstatus": null,
"communityBoard": null,
"isLicenseApplication": null,
"currentDueDate": null,
"isFinalDeficiency": null,
"isHighlyDeficient": null,
"isAllDeficienciesMet": null,
"pastDueDate": null,
"memo": null,
"isOneTimePermit": null,
"dueDateAction": null,
"isDisapprovedForCause": null,
"isNotQualified": null,
"eventDate": null,
"appStatus": {
"appStatusId": 0,
"statusDescription": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null
},
"applicationType": null,
"assignAppExaminer": null,
"assignAppToLB": null,
"licePermitType": null,
"assoApplicationList": [
],
"isTempPermit": null,
"isTempOrLiq": false,
"licPermitTypeId": 0,
"isAssociatedLicense": null,
"effectiveDate": null,
"assignedUserId": null,
"amendmentTypeId": null,
"amendmentType": null,
"disapprovedDate": null,
"condApprovedDate": null,
"addressId": null,
"isCaseOpen": null,
"isClosed": null,
"isCaseOpenSameAddress": null,
"isSpecialEventPlusFour": null,
"isSpecialEventInsideFiveBoroughs": null,
"licStatus": null,
"createdBy": null,
"clericalName": null,
"licenseId": null,
"address": null,
"isNybeApp": false,
"isHearingCompleted": null,
"does500FtHearingExist": null,
"parentAppStatus": null,
"premisesAppCount": 0,
"statusDescription": null,
"eventAddress": null,
"isFairOrFestival": false,
"isShowEffExpDateOnLBReview": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
"options": null,
"emailNotificationModel": null,
"taskOptionsListNested": null,
"days": 0,
"permit": null,
"licPermitType": null,
"licensePermitMapping": null,
"licenseFee": null,
"accountBalance": null,
"licenseDescription": null,
"isSeasonal": false,
"isSummerSeasonal": false,
"newExpiryDate": null,
"amountDue": null,
"originalLicenseFee": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"wfRoleId": 0
},
"person": [
],
"totalRecord": 0,
"apps": [
]
}
3225
And print 'licId : ' , licId
0
20:37:08.693 [print] licId : 1488
3226
And print 'licenseId : ' , licenseId
0
20:37:08.693 [print] licenseId : 0111-22-129139
3227
And match licId != []
0
3228
And match licenseId != []
0
232
And print licenseId
0
20:37:08.699 [print] 0111-22-129139
233
* def notQualifiedApplication = false
0
234
* def notQlfdAppMessage = ''
0
235
* def LicensePermitId = licenseId
0
236
* call read('RenewalCommonMethods.feature@IntakeRenewalLicense') {}
1505
>>
karate.UseCases.RenewalCommonMethods
1215
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def date = getDate2()
1
17
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
26
* def effectiveDate = effectiveDateFunc()
0
30
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
39
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
50
* def fundDueDate = fundDueDateFunc(7)
1
53
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
64
* def conditionDefinedDateFunction =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.00");
var date = new java.util.Date();
return sdf.format(date);
}
75
* def conditionDefinedDate = conditionDefinedDateFunction()
0
76
* def conditionDefinedDateFunctionwithAddedDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var date = new java.util.Date();
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
88
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
99
* def getRenewalReviewFunc =
0
function(reviewType){
if (reviewType == 'Send to Licensing Board'){
return 2;
}
else if (reviewType == 'Send to Full Board Preview Team'){
return 3;
}
else if (reviewType == 'Define Deficiencies'){
return 1;
}
}
169
Given path '/internalapi/api/licensing/search/searchLicensesAndPermits/'
0
170
And header Content-Type = 'application/json; charset=utf-8'
0
172
And header Accept = 'application/json; text/plain;*/*'
0
173
And header authorization = 'Bearer ' + strToken
0
176
And request {"WfTaskIdList":[],"LicenseStatusList":[19,45,40],"ShowLicensesAndPermits":true,"Status":null,"isTempPermit":null,"ApplicationId":null,"LicensePermitId":'#(licenseId)',"LegalName":null,"FEIN":null,"applyFor":""}
0
177
When method POST
146
20:37:08.989 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/search/searchLicensesAndPermits
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Length: 213
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"WfTaskIdList":[],"LicenseStatusList":[19,45,40],"ShowLicensesAndPermits":true,"Status":null,"isTempPermit":null,"ApplicationId":null,"LicensePermitId":"0111-22-129139","LegalName":null,"FEIN":null,"applyFor":""}
20:37:09.134 response time in milliseconds: 145
1 < 200
1 < Content-Length: 1292
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:09 GMT
{"licenses":[{"lpId":1488,"licensePermitId":"0111-22-129139","licPermitTypeId":40,"isAccociatedLicense":false,"appId":13995,"mainAppId":13995,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-11-15T00:00:00","expiryDate":"2022-11-25T00:00:00","effectiveDate":"2022-11-15T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-11-15T10:07:06.603","modifiedDate":null,"submitDate":"2022-11-15T10:06:57.133","description":"Restaurant-Beer","county":"New York","legalName":"Automation20221115203646Automation","fein":"","formId":1165,"isRenewalRequird":true,"dba":null,"associatePermits":[],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":null,"county":"New York","zipCode":"12345","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null}],"totalRecord":1}
178
Then status 200
0
179
* def licPermitTypeId = response.licenses[0].licPermitTypeId
0
180
* def lpId = response.licenses[0].lpId
0
181
* def effectiveDate = response.licenses[0].effectiveDate
0
182
* def expiryDate = response.licenses[0].expiryDate
0
183
* def legalName = response.licenses[0].legalName
0
184
* def licAppId = response.licenses[0].appId
0
185
* def submitDate = response.licenses[0].submitDate
0
186
* call read('LicensesCommonMethods.feature@GetCountyList') {}
749
>>
karate.UseCases.LicensesCommonMethods
310
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
117
Given path '/internalapi/api/reference'
0
118
* def dbSts = db.cleanHeap()
169
119
And header authorization = 'Bearer ' + strToken
0
120
And header Content-Type = 'application/json;charset=utf-8'
0
121
And header Accept = 'text/plain'
0
# * def query = {name:countyzone&onlyActives:true}
123
And params {name:countyzone,onlyActives:true}
0
#And param onlyActives='true'
125
And request {}
0
126
When method get
140
20:37:09.739 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/reference?name=countyzone&onlyActives=true
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Type: application/json;charset=utf-8
1 > Accept: text/plain
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:37:09.878 response time in milliseconds: 139
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:09 GMT
1 < Content-Length: 11712
{"values":[{"CountyId":1,"County":"New York","ShortName":"NEW","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T00:00:00","ModifiedBy":"esandoval","ModifiedDate":"2020-11-10T11:30:56.047"},{"CountyId":2,"County":"Kings","ShortName":"KING","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":3,"County":"Bronx","ShortName":"BRON","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":4,"County":"Queens","ShortName":"QUEE","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":5,"County":"Richmond","ShortName":"RICH","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":6,"County":"Nassau","ShortName":"NASS","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":7,"County":"Suffolk","ShortName":"SUFF","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":8,"County":"Westchester","ShortName":"WEST","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":9,"County":"Orange","ShortName":"ORAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":10,"County":"Putnam","ShortName":"PUTN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":11,"County":"Rockland","ShortName":"ROCK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":12,"County":"Albany","ShortName":"ALBA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":13,"County":"Clinton","ShortName":"CLIN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":14,"County":"Columbia","ShortName":"COLU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":15,"County":"Dutchess","ShortName":"DUTC","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":16,"County":"Essex","ShortName":"ESSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":17,"County":"Franklin","ShortName":"FRAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":18,"County":"Fulton","ShortName":"FULT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":19,"County":"Greene","ShortName":"GREE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":20,"County":"Hamilton","ShortName":"HAMI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":21,"County":"Montgomery","ShortName":"MONT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":22,"County":"Rensselaer","ShortName":"RENS","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":23,"County":"Saratoga","ShortName":"SARA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":24,"County":"Schenectady","ShortName":"SCHE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":25,"County":"Schoharie","ShortName":"SCHO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":26,"County":"Sullivan","ShortName":"SULL","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":27,"County":"Ulster","ShortName":"ULST","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":28,"County":"Warren","ShortName":"WARR","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":29,"County":"Washington","ShortName":"WASH","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":30,"County":"Allegany","ShortName":"ALLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":31,"County":"Cattaraugus","ShortName":"CATT","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":32,"County":"Chautauqua","ShortName":"CHAU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":33,"County":"Chemung","ShortName":"CHEM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":34,"County":"Erie","ShortName":"ERIE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":35,"County":"Genesee","ShortName":"GENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":36,"County":"Livingston","ShortName":"LIVI","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":37,"County":"Monroe","ShortName":"MONR","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":38,"County":"Niagara","ShortName":"NIAG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":39,"County":"Ontario","ShortName":"ONTA","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":40,"County":"Orleans","ShortName":"ORLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":41,"County":"Schuyler","ShortName":"SCHU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":42,"County":"Seneca","ShortName":"SENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":43,"County":"Steuben","ShortName":"STEU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":44,"County":"Wayne","ShortName":"WAYN","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":45,"County":"Wyoming","ShortName":"WYOM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":46,"County":"Yates","ShortName":"YATE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":47,"County":"Broome","ShortName":"BROO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":48,"County":"Chenango","ShortName":"CHEN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":49,"County":"Cortland","ShortName":"CORT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":50,"County":"Delaware","ShortName":"DELA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":51,"County":"Herkimer","ShortName":"HERK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":52,"County":"Jefferson","ShortName":"JEFF","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":53,"County":"Lewis","ShortName":"LEWI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":54,"County":"Madison","ShortName":"MADI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":55,"County":"Oneida","ShortName":"ONEI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":56,"County":"Onondaga","ShortName":"ONON","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":57,"County":"Oswego","ShortName":"OSWE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":58,"County":"Otsego","ShortName":"OTSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":59,"County":"St. Lawrence","ShortName":"ST L","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":60,"County":"Cayuga","ShortName":"CAYU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":61,"County":"Tioga","ShortName":"TIOG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":62,"County":"Tompkins","ShortName":"TOMP","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.6","ModifiedBy":null,"ModifiedDate":null}],"name":"countyzone","schema":[{"columnName":"CountyId","dataType":"int","maxLenght":null,"isRequired":true},{"columnName":"County","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ShortName","dataType":"nvarchar","maxLenght":10,"isRequired":false},{"columnName":"ZoneNo","dataType":"int","maxLenght":null,"isRequired":false},{"columnName":"IsActive","dataType":"bit","maxLenght":null,"isRequired":false},{"columnName":"CreatedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"CreatedDate","dataType":"datetime","maxLenght":null,"isRequired":false},{"columnName":"ModifiedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ModifiedDate","dataType":"datetime","maxLenght":null,"isRequired":false}]}
127
* configure continueOnStepFailure = true
0
128
Then status 200
0
129
And def values = response.values
0
130
* configure continueOnStepFailure = true
0
187
* def countyData = karate.jsonPath(values, "$[?(@.CountyId == '" + CountyId + "')]")
0
188
* def countyZone = countyData[0].ZoneNo
0
189
And print countyZone
0
20:37:09.885 [print] 1
190
Given path '/internalapi/api/licensing/renewal/save'
0
191
* def dbSts = db.cleanHeap()
159
192
And header authorization = 'Bearer ' + strToken
0
193
And header Content-Type = 'application/json; charset=utf-8'
0
194
And header Accept = 'application/json; text/plain;*/*'
0
195
And configure continueOnStepFailure = true
0
196
And request {"mainLicenseId":'#(licenseId)',"associated":[],"notQualifiedApplication":'#(notQualifiedApplication)',"NotQualifiedComments":'#(notQlfdAppMessage)'}
0
197
When method Post
156
20:37:10.044 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/renewal/save
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > Content-Length: 108
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"mainLicenseId":"0111-22-129139","associated":[],"notQualifiedApplication":false,"NotQualifiedComments":""}
20:37:10.198 response time in milliseconds: 154
2 < 200
2 < Content-Length: 170
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:07:10 GMT
[{"appId":13996,"formId":1167,"childAppId":null,"mainApplicationId":"RE-22-106378-01","childApplicationId":null,"licensePermitTypeId":40,"description":"Restaurant-Beer"}]
198
* configure continueOnStepFailure = true
0
199
Then status 200
0
200
* def description = response[0].description
0
201
* def appId = response[0].appId
0
202
* def formId = response[0].formId
0
203
* def ApplicationId = response[0].mainApplicationId
0
204
And print ApplicationId
0
20:37:10.199 [print] RE-22-106378-01
205
And match ApplicationId contains 'RE-'
0
207
* def currentYear = '-'+getYearFunc()+'-'
0
208
And match ApplicationId contains currentYear
0
237
* call read('LicensesCommonMethods.feature@FillAndSaveApplicantInformationPage') {}
640
>>
karate.UseCases.LicensesCommonMethods
192
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
700
* def getDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
709
Given path '/internalapi/api/licensing/app/static/applicantinfo/save/'+appId
0
710
And header Content-Type = 'application/json; charset=utf-8'
0
712
* def autoFirstName = firstName + getDate()
0
713
* def legalName = autoFirstName + lastName
0
714
And header Accept = 'application/json; text/plain;*/*'
0
715
And header authorization = 'Bearer ' + strToken
0
716
And request {"businessInfo":{"website":null,"businessEntity":{"individualOrganization":'#(indOrgCode)',"corporateStructure":'#(CorporateStructureDropDownCode)',"firstName":'#(autoFirstName)',"lastName":'#(lastName)',"middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":'#(legalName)',"id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":'#(IndOrgSelectionDropDown)',"corporateStructureText":'#(CorporateStructureDropDown)',"isIndividual":'#(isIndStatus)'},"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"2","phoneTypeText":"Office","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
0
717
When method post
188
20:37:10.651 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/applicantinfo/save/13996
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Length: 2167
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"businessInfo":{"website":null,"businessEntity":{"individualOrganization":1,"corporateStructure":1,"firstName":"Automation20221115203710","lastName":"Automation","middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":"Automation20221115203710Automation","id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":"Individual","corporateStructureText":"Individual","isIndividual":true},"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"2","phoneTypeText":"Office","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
20:37:10.839 response time in milliseconds: 187
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:10 GMT
1 < Content-Length: 2187
{"businessInfo":{"id":0,"website":null,"isLicensed":true,"isAssociated":false,"businessEntity":{"id":0,"individualOrganization":"1","corporateStructure":1,"isEmployeeForSoleProprietor":null,"firstName":"Automation20221115203710","lastName":"Automation","middleName":null,"ssn":"","fein":"","legalName":"Automation20221115203710Automation","suffix":"1","corporateStructureText":"Individual","individualOrganizationText":"Individual","isIndividual":true},"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":0,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":0,"phoneType":3,"countryCode":"+91","phone":"999-999-9999","phoneExtension":"1234"}]}},"premisesInfo":{"id":0,"dba":null,"countyId":0,"countyName":null,"isDbaSearched":null,"isPremisesRequired":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":0,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":0,"phoneType":2,"countryCode":"+91","phone":"999-999-9999","phoneExtension":"1234"}]}},"applicantDetail":{"id":0,"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"isPhysicalChange":null,"applicantStatement":{"id":0,"nameOfApplicant":null,"title":null,"signature":null,"date":null}}}
718
Then status 200
0
239
* call read('RenewalCommonMethods.feature@SaveAssociatedPrincipal') {}
540
>>
karate.UseCases.RenewalCommonMethods
326
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def date = getDate2()
1
17
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
26
* def effectiveDate = effectiveDateFunc()
0
30
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
39
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
50
* def fundDueDate = fundDueDateFunc(7)
1
53
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
64
* def conditionDefinedDateFunction =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.00");
var date = new java.util.Date();
return sdf.format(date);
}
75
* def conditionDefinedDate = conditionDefinedDateFunction()
2
76
* def conditionDefinedDateFunctionwithAddedDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var date = new java.util.Date();
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
88
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
99
* def getRenewalReviewFunc =
0
function(reviewType){
if (reviewType == 'Send to Licensing Board'){
return 2;
}
else if (reviewType == 'Send to Full Board Preview Team'){
return 3;
}
else if (reviewType == 'Define Deficiencies'){
return 1;
}
}
464
Given path '/internalapi/api/licensing/app/static/principal/'+appId
0
466
And header Content-Type = 'application/json; charset=utf-8'
0
467
And header Accept = 'application/json; text/plain;*/*'
0
468
And header authorization = 'Bearer ' + strToken
0
469
And request {}
0
470
When method get
146
20:37:11.058 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/principal/13996
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:37:11.203 response time in milliseconds: 145
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:11 GMT
1 < Content-Length: 1388
{"entities":[],"principals":[{"principalId":3318,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":true,"isFingerprintsApproved":true,"percentageOfOwners":20.0,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","entities":null,"numberOfShares":"","isSignature":false,"isRemove":false,"date":"2022-11-15T00:00:00","convictedOfCrime":"1","title":"15","isLicensed":true,"isAssociated":true,"person":{"personId":5635,"firstName":"Automation20221115203649","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T00:00:00","serialNo":0,"age":0,"choosedEntity":[]},"address":{"addressId":29474,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25382,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}}]}
471
Then status 200
0
472
* def personResponse = response
0
473
* def principalId = personResponse.principals[0].principalId
0
474
* def personId = personResponse.principals[0].person.personId
0
475
* def licFirstName = personResponse.principals[0].person.firstName
0
476
* def licLastName = personResponse.principals[0].person.lastName
0
477
* def licCommID = personResponse.principals[0].communication.id
0
478
* def licEmailID = personResponse.principals[0].communication.email
0
479
* def licAddressId = personResponse.principals[0].address.addressId
0
480
Given path '/internalapi/api/licensing/app/static/principal/save/'+appId
0
482
And header Content-Type = 'application/json; charset=utf-8'
0
483
* def getDate1 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
492
* def prncipalName = 'AutoRenewal'+getDate1()
1
494
And header Accept = 'application/json; text/plain;*/*'
0
495
And header authorization = 'Bearer ' + strToken
0
498
And request {"entities":[],"principals":[{"principalId":'#(principalId)',"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":null,"isFingerprintsApproved":null,"percentageOfOwners":null,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":true,\"isNewPrincipal\":false}","entities":null,"numberOfShares":"","isSignature":null,"isRemove":false,"date":null,"convictedOfCrime":"","title":"","isLicensed":null,"isAssociated":null,"person":{"personId":'#(personId)',"firstName":'#(licFirstName)',"middleName":"","lastName":'#(licLastName)',"suffix":"","socialSecurityNo":"","birthDate":null,"serialNo":0,"age":null,"choosedEntity":null},"address":{"addressId":'#(licAddressId)',"appId":null,"addressLine1":"","addressLine2":"","city":"","stateId":40,"county":"","zipCode":"","zip4":"","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":'#(licCommID)',"email":'#(licEmailID)',"confirmEmail":'#(licEmailID)',"phones":[]}},{"principalId":0,"convictedOfCrime":"","percentageOfOwners":"","isFingerprintRequired":"","isFingerprintsApproved":"","title":"","numberOfShares":"","isSignature":"","date":"","address":{"addressLine1":"Test Address1","addressLine2":"","stateId":40,"county":"New York","city":"New York","zipCode":"12345","zip4":"1234","country":"United States (US)","stateName":"New York","countryId":229,"zip":"12345"},"person":{"personId":0,"firstName":"Automation","middleName":"","lastName":"Renewal LicPermit","suffix":"","socialSecurityNo":"","birthDate":"","age":"","choosedEntity":null,"ssnFormat":""},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":'#(licEmailID)',"confirmEmail":'#(licEmailID)'},"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
0
499
When method post
174
20:37:11.206 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/principal/save/13996
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
2 > Content-Length: 2220
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"entities":[],"principals":[{"principalId":3318,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":null,"isFingerprintsApproved":null,"percentageOfOwners":null,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":true,\"isNewPrincipal\":false}","entities":null,"numberOfShares":"","isSignature":null,"isRemove":false,"date":null,"convictedOfCrime":"","title":"","isLicensed":null,"isAssociated":null,"person":{"personId":5635,"firstName":"Automation20221115203649","middleName":"","lastName":"AutoLastName","suffix":"","socialSecurityNo":"","birthDate":null,"serialNo":0,"age":null,"choosedEntity":null},"address":{"addressId":29474,"appId":null,"addressLine1":"","addressLine2":"","city":"","stateId":40,"county":"","zipCode":"","zip4":"","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25382,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}},{"principalId":0,"convictedOfCrime":"","percentageOfOwners":"","isFingerprintRequired":"","isFingerprintsApproved":"","title":"","numberOfShares":"","isSignature":"","date":"","address":{"addressLine1":"Test Address1","addressLine2":"","stateId":40,"county":"New York","city":"New York","zipCode":"12345","zip4":"1234","country":"United States (US)","stateName":"New York","countryId":229,"zip":"12345"},"person":{"personId":0,"firstName":"Automation","middleName":"","lastName":"Renewal LicPermit","suffix":"","socialSecurityNo":"","birthDate":"","age":"","choosedEntity":null,"ssnFormat":""},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":"automation@svam.com","confirmEmail":"automation@svam.com"},"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
20:37:11.379 response time in milliseconds: 173
2 < 200
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:07:11 GMT
2 < Content-Length: 2326
{"entities":[],"principals":[{"principalId":3318,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":null,"isFingerprintsApproved":null,"percentageOfOwners":null,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":null,"entities":null,"numberOfShares":"","isSignature":null,"isRemove":false,"date":null,"convictedOfCrime":"","title":"","isLicensed":null,"isAssociated":null,"person":{"personId":5635,"firstName":"Automation20221115203649","middleName":"","lastName":"AutoLastName","suffix":"","socialSecurityNo":"","birthDate":null,"serialNo":0,"age":null,"choosedEntity":[]},"address":{"addressId":29474,"appId":null,"addressLine1":"","addressLine2":"","city":"","stateId":40,"county":"","zipCode":"","zip4":"","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25382,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}},{"principalId":3319,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":null,"isFingerprintsApproved":null,"percentageOfOwners":null,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":null,"entities":null,"numberOfShares":"","isSignature":null,"isRemove":false,"date":null,"convictedOfCrime":"","title":"","isLicensed":null,"isAssociated":null,"person":{"personId":0,"firstName":"Automation","middleName":"","lastName":"Renewal LicPermit","suffix":"","socialSecurityNo":"","birthDate":null,"serialNo":0,"age":null,"choosedEntity":[]},"address":{"addressId":0,"appId":null,"addressLine1":"Test Address1","addressLine2":"","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":0,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}}]}
500
Then status 200
0
240
* call read('RenewalCommonMethods.feature@RenewalLicFillingFee') {amount:40000}
1997
>>
karate.UseCases.RenewalCommonMethods
1806
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def date = getDate2()
0
17
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
26
* def effectiveDate = effectiveDateFunc()
0
30
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
39
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
50
* def fundDueDate = fundDueDateFunc(7)
2
53
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
64
* def conditionDefinedDateFunction =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.00");
var date = new java.util.Date();
return sdf.format(date);
}
75
* def conditionDefinedDate = conditionDefinedDateFunction()
0
76
* def conditionDefinedDateFunctionwithAddedDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var date = new java.util.Date();
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
88
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
99
* def getRenewalReviewFunc =
0
function(reviewType){
if (reviewType == 'Send to Licensing Board'){
return 2;
}
else if (reviewType == 'Send to Full Board Preview Team'){
return 3;
}
else if (reviewType == 'Define Deficiencies'){
return 1;
}
}
673
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
674
* def totalFees = licenseFees + fillingFees
0
675
And print totalFees
0
20:37:11.573 [print] 1060.0
676
And header Content-Type = 'application/json; charset=utf-8'
0
677
And header Accept = 'application/json; text/plain;*/*'
0
678
And header authorization = 'Bearer ' + strToken
0
679
And request {}
0
680
When method get
264
20:37:11.573 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/13996
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:37:11.837 response time in milliseconds: 263
1 < 200
1 < Content-Length: 655
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:11 GMT
[{"licenseName":"Restaurant - Beer","applicationId":"RE-22-106378-01","applicationTypeId":2,"appFeesId":0,"appId":13996,"feesRefId":6039,"initialFees":0.0,"licensingFees":960.00,"amendmentFees":0.0,"renewalFees":30.00,"totalFees":0.0,"filingFees":0.0,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":false,"isBondRequired":true,"bondFee":1000.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
681
Then status 200
0
682
And def serverResponse = response
0
683
* def licTerm = serverResponse[0].term
0
684
* def licFees = serverResponse[0].licensingFees+''
0
685
* def licTermDesc = serverResponse[0].termDesc
0
686
* def licFeesRefId = serverResponse[0].feesRefId
0
688
* def licAncillaryFees = serverResponse[0].ancillaryFees+''
0
689
* def licfilingFees = serverResponse[0].filingFees+''
0
690
* def licInitialFees = serverResponse[0].initialFees
0
# And def totalFees = licInitialFees+licfilingFees+licAncillaryFees
#And print totalFees
697
Given path '/internalapi/api/notification/SaveNotification'
0
699
And header Content-Type = 'application/json; charset=utf-8'
0
700
And header Accept = 'application/json; text/plain;*/*'
0
701
And header authorization = 'Bearer ' + strToken
0
702
And request {"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}
0
703
When method post
149
20:37:11.839 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/notification/SaveNotification
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
2 > Content-Length: 2006
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13996,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13996,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13996,"createdBy":"Tarun Gupta"}
20:37:11.986 response time in milliseconds: 147
2 < 200
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:07:11 GMT
2 < Content-Length: 5
false
704
Then status 200
0
705
And print response
0
20:37:11.986 [print] false
710
Given path 'internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
711
And header Content-Type = 'application/json; charset=utf-8'
0
712
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
726
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
735
* def date = getDate2()
1
736
* def futureDate = futureDateFunc()
2
737
And header Accept = 'application/json; text/plain;*/*'
0
738
And header authorization = 'Bearer ' + strToken
0
740
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":40000}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees1)',"totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":'#(licTerm)',"termDesc":'#(licTermDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-03-31T00:00:00.000Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
741
When method post
205
20:37:11.990 request:
3 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13996/false
3 > Content-Type: application/json; charset=utf-8
3 > Accept: application/json; text/plain;*/*
3 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
3 > Content-Length: 5063
3 > Host: slaleapqaapi.svam.com
3 > Connection: Keep-Alive
3 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
3 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":13996,"slaintakeDate":"2022-11-15T20:37:11.987Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T20:37:11.987Z","amount":40000}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"RE-22-106378-01","applicationTypeId":1,"appFeesId":0,"appId":13996,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"30","totalFees":1060.0,"filingFees":"0","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-03-31T00:00:00.000Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13996,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13996,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13996,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13996,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13996,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13996,"createdBy":"Tarun Gupta"},"taskId":null}
20:37:12.195 response time in milliseconds: 205
3 < 200
3 < Content-Length: 4
3 < Content-Type: application/json; charset=utf-8
3 < Server: Microsoft-IIS/10.0
3 < Strict-Transport-Security: max-age=2592000
3 < X-Powered-By: ASP.NET
3 < Date: Tue, 15 Nov 2022 15:07:11 GMT
true
742
Then status 200
0
744
Given path 'internalapi/api/licensing/fees/check-payments/get/'+appId
0
745
And header authorization = 'Bearer ' + strToken
0
746
And request {}
0
747
When method get
194
20:37:12.195 request:
4 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/check-payments/get/13996
4 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
4 > Content-Type: application/json; charset=UTF-8
4 > Content-Length: 2
4 > Host: slaleapqaapi.svam.com
4 > Connection: Keep-Alive
4 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
4 > Accept-Encoding: gzip,deflate
{}
20:37:12.388 response time in milliseconds: 193
4 < 200
4 < Content-Length: 443
4 < Content-Type: application/json; charset=utf-8
4 < Server: Microsoft-IIS/10.0
4 < Strict-Transport-Security: max-age=2592000
4 < X-Powered-By: ASP.NET
4 < Date: Tue, 15 Nov 2022 15:07:12 GMT
[{"checkDetailId":2394,"appId":13996,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T00:00:00","slaintakeDate":"2022-11-15T00:00:00","amount":40000.0000,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T10:07:12.197","modifiedBy":null,"modifiedDate":null}]
748
Then status 200
0
749
And def checkDetailId = response[0].checkDetailId
0
750
And print checkDetailId
0
20:37:12.389 [print] 2394
752
Given path '/internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
753
And header Content-Type = 'application/json; charset=utf-8'
0
754
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
765
* def futureDate = futureDateFunc()
1
766
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
775
* def date = getDate2()
0
777
And header Accept = 'application/json; text/plain;*/*'
0
778
And header authorization = 'Bearer ' + strToken
0
779
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(totalFees)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":'#(licInitialFees)',"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees1)',"totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":'#(licAncillaryFees)',"isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(futureDate)',"emailNotificationDetail":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
782
When method post
244
20:37:12.391 request:
5 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13996/false
5 > Content-Type: application/json; charset=utf-8
5 > Accept: application/json; text/plain;*/*
5 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
5 > Content-Length: 5061
5 > Host: slaleapqaapi.svam.com
5 > Connection: Keep-Alive
5 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
5 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":13996,"slaintakeDate":"2022-11-15T20:37:12.391Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T20:37:12.391Z","amount":1060.0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"RE-22-106378-01","applicationTypeId":1,"appFeesId":0,"appId":13996,"feesRefId":6039,"initialFees":0.0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"30","totalFees":1060.0,"filingFees":"0","ancillaryFees":"0","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-12-15T20:37:12.389Z","emailNotificationDetail":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13996,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13996,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13996,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13996,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13996,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13996,"createdBy":"Tarun Gupta"},"taskId":null}
20:37:12.635 response time in milliseconds: 244
5 < 200
5 < Content-Length: 4
5 < Content-Type: application/json; charset=utf-8
5 < Server: Microsoft-IIS/10.0
5 < Strict-Transport-Security: max-age=2592000
5 < X-Powered-By: ASP.NET
5 < Date: Tue, 15 Nov 2022 15:07:12 GMT
true
783
Then status 200
0
# ********* SAVE Application Details To Save *********************
787
Given path '/internalapi/api/licensing/app/save'
0
788
And header authorization = 'Bearer ' + strToken
0
789
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":'#(appId)',"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
790
When method post
263
20:37:12.639 request:
6 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
6 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
6 > Content-Type: application/json; charset=UTF-8
6 > Content-Length: 30720
6 > Host: slaleapqaapi.svam.com
6 > Connection: Keep-Alive
6 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
6 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13996,"formID":1167,"applicationID":"RE-22-106378-01","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":13996,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
20:37:12.899 response time in milliseconds: 260
6 < 200
6 < Content-Length: 49
6 < Content-Type: application/json; charset=utf-8
6 < Server: Microsoft-IIS/10.0
6 < Strict-Transport-Security: max-age=2592000
6 < X-Powered-By: ASP.NET
6 < Date: Tue, 15 Nov 2022 15:07:12 GMT
{"appId":13996,"applicationId":"RE-22-106378-01"}
791
Then status 200
0
# ********* Save PAYMENT *********************
796
Given path '/internalapi/api/licensing/fees/details/save/'+appId +'/false'
0
797
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
808
* def slaDate = licFeesDate()
1
809
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
821
* def slaaDate = licDate()
0
822
* def licInitialFees1 = licInitialFees+''
0
823
And print licInitialFees1
0
20:37:12.901 [print] 0
824
* def renewalFees1 = renewalFees+''
0
825
And print renewalFees1
0
20:37:12.901 [print] 30
826
* def totalFees1 = totalFees+''
0
828
And print totalFees1
0
20:37:12.901 [print] 1060
829
* def licAncillaryFees1 = licAncillaryFees+''
0
830
* def licfilingFees1 = licfilingFees+''
0
832
And header authorization = 'Bearer ' + strToken
0
833
And request {"checks":[{"checkDetailId":'#(checkDetailId)',"appId":'#(appId)',"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":'#(date)',"slaintakeDate":'#(date)',"amount":40000,"appliedTo":null,"amountUsed":40000,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-03-24T09:43:00.873","modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":'#(licFeesRefId)',"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees1)',"totalFees":'#(totalFees1)',"filingFees":'#(licfilingFees1)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":0,"amountReceived":"40000.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":'#(appId)',"checkDetailId":'#(checkDetailId)',"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":"40000.00","amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":"1970-01-01T00:00:00.000Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
# {"checks":[{"checkDetailId":1622,"appId":5856,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T00:00:00.000Z","slaintakeDate":"2022-09-23T00:00:00.000Z","amount":"100.00","isPaymentFailed":false,"appliedTo":null,"amountUsed":100,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-09-23T13:22:04.11","modifiedBy":null,"modifiedDate":null,"applyClick":true},{"checkDetailId":1623,"appId":5856,"paymentSource":"RDC","checkNo":"2","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T00:00:00.000Z","slaintakeDate":"2022-09-23T00:00:00.000Z","amount":"10.00","isPaymentFailed":false,"appliedTo":null,"amountUsed":10,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-09-23T13:22:04.113","modifiedBy":null,"modifiedDate":null,"applyClick":true}],"appFees":{"appFees":[{"licenseName":"Restaurant - Beer","applicationId":"RE-22-106102-01","applicationTypeId":2,"appFeesId":3976,"appId":5856,"feesRefId":6039,"initialFees":0,"licensingFees":"960.00","am "paymentDetails":[{"appPaymentId":2112,"amountAppliedForApp":"100.00","checkDetailId":1622,"appId":5856,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T00:00:00","slaintakeDate":"2022-09-23T00:00:00","amount":0,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":null,"createdDate":"2022-09-23T13:21:19.61","modifiedBy":"tgupta@svam.com","modifiedDate":"2022-09-23T13:22:04.06"},{"appPaymentId":2113,"amountAppliedForApp":"10.00","checkDetailId":1623,"appId":5856,"paymentSource":"RDC","checkNo":"2","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T00:00:00","slaintakeDate":"2022-09-23T00:00:00","amount":0,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":null,"createdDate":"2022-09-23T13:21:19.623","modifiedBy":"tgupta@svam.com","modifiedDate":"2022-09-23T13:22:04.07"}],"lateFee":0,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}],"isBondRequired":true,"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":true,"fundDueDate":"2022-09-30T00:00:00.000Z","emailNotificationDetail":{"applicant":{"communicationId":0,"email":"automation@svam.com","appId":5856,"emailContactTypeId":1,"isChecked":true,"roleId":3,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":19517,"email":"sbandi@svam.com","appId":5856,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"automation@test.com","appId":5856,"emailContactTypeId":0,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":true,"appId":5856,"notificationTypeId":96}},"notificationDetails":{"applicant":{"communicationId":0,"email":"automation@svam.com","appId":5856,"emailContactTypeId":1,"isChecked":true,"roleId":3,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":19517,"email":"sbandi@svam.com","appId":5856,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"automation@test.com","appId":5856,"emailContactTypeId":0,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":true,"appId":5856,"notificationTypeId":96},"taskId":2066}
# {"checks":[{"checkDetailId":1625,"appId":5858,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T22:56:37.353Z","slaintakeDate":"2022-09-23T22:56:37.353Z","amount":100 ,"appliedTo":null,"amountUsed":100,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-09-23T22:56:37.353,"modifiedBy":null,"modifiedDate":null,"applyClick":true,"{"checkDetailId":1626,"appId":5858,"paymentSource":"RDC","checkNo":"2","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T22:56:37.353Z","slaintakeDate":"2022-09-23T22:56:37.353Z","amount":"10" ,"appliedTo":null,"amountUsed":0 ,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-09-23T22:56:37.353 ,"modifiedBy":null,"modifiedDate":null,"applyClick":true,],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer", "applicationId":"RE-22-106103-01","applicationTypeId":1,"appFeesId":6039,"appId":5858,"feesRefId":6039,"initialFees":0,"licensingFees":960 ,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":"960" ,"filingFees":"0" ,"ancillaryFees":"0" ,"isFeesWaived":false,"underPaymentAmount":0 ,"amountReceived":"10" ,"waivedComment":null,"isBondReceived":false,"isBondRequired":true,"bondFee":1000,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":5858,"checkDetailId":1625,"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":"100.00","amount":0},{"appId":5858,"checkDetailId":1626,"checkNo":"2","itemNo":"1","batchNo":"1","amountAppliedForApp":"10","amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"isFromReturnedCheck":false,"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":true,"fundDueDate":"2022-09-30T22:56:36.973Z","emailNotificationDetail":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":5858,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":5858,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":5858,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":5858,"createdBy":"Tarun Gupta"},"taskId":null}
836
When method post
236
20:37:12.903 request:
7 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13996/false
7 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
7 > Content-Type: application/json; charset=UTF-8
7 > Content-Length: 5452
7 > Host: slaleapqaapi.svam.com
7 > Connection: Keep-Alive
7 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
7 > Accept-Encoding: gzip,deflate
{"checks":[{"checkDetailId":2394,"appId":13996,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T20:37:12.391Z","slaintakeDate":"2022-11-15T20:37:12.391Z","amount":40000,"appliedTo":null,"amountUsed":40000,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-03-24T09:43:00.873","modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"RE-22-106378-01","applicationTypeId":1,"appFeesId":6039,"appId":13996,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"30","totalFees":"1060","filingFees":"0","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":0,"amountReceived":"40000.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":13996,"checkDetailId":2394,"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":"40000.00","amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":"1970-01-01T00:00:00.000Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13996,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13996,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13996,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13996,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13996,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13996,"createdBy":"Tarun Gupta"},"taskId":null}
20:37:13.138 response time in milliseconds: 235
7 < 200
7 < Content-Type: application/json; charset=utf-8
7 < Server: Microsoft-IIS/10.0
7 < Strict-Transport-Security: max-age=2592000
7 < X-Powered-By: ASP.NET
7 < Date: Tue, 15 Nov 2022 15:07:12 GMT
7 < Content-Length: 4
true
837
Then status 200
0
838
And print response
0
20:37:13.138 [print] true
# ********* SAVE Application Details To Save *********************
843
Given path '/internalapi/api/licensing/app/save'
0
844
And header authorization = 'Bearer ' + strToken
0
845
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":'#(appId)',"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
846
When method post
239
20:37:13.141 request:
8 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
8 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
8 > Content-Type: application/json; charset=UTF-8
8 > Content-Length: 30720
8 > Host: slaleapqaapi.svam.com
8 > Connection: Keep-Alive
8 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
8 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13996,"formID":1167,"applicationID":"RE-22-106378-01","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":13996,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
20:37:13.379 response time in milliseconds: 238
8 < 200
8 < Content-Length: 49
8 < Content-Type: application/json; charset=utf-8
8 < Server: Microsoft-IIS/10.0
8 < Strict-Transport-Security: max-age=2592000
8 < X-Powered-By: ASP.NET
8 < Date: Tue, 15 Nov 2022 15:07:13 GMT
{"appId":13996,"applicationId":"RE-22-106378-01"}
847
Then status 200
0
848
And def serverResponse = response
0
241
* call read('LicensesCommonMethods.feature@UploadDocumentAmendment') {}
738
>>
karate.UseCases.LicensesCommonMethods
217
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
5666
* def receivedDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy/MM/dd");
var date = new java.util.Date();
return sdf.format(date);
}
5675
* def receivedDate = receivedDateFunc()
1
5677
Given path '/internalapi/api/document/UploadDocument'
0
5678
And header Content-Type = 'application/json; charset=utf-8'
0
5679
And header Accept = 'application/json; text/plain;*/*'
0
5680
And header authorization = 'Bearer ' + strToken
0
5681
And request {"documentDesc":"TestDocument.docx","acaId":'#(appId)',"acaType":"application","bureau":"bureau","documentType":{"key":1,"value":"20 DAY NOTICE","description":null,"documentSubCategory":"20 DAY"},"documentCategory":null,"receivedDate":'#(receivedDate)',"createdDate":'#(date)',"documentBase64":"data:application/vnd.openxmlformats-officedocument.wordprocessingml.document;base64,UEsDBBQABgAIAAAAIQDupm+0lQEAACkHAAATAM0BW0NvbnRlbnRfVHlwZXNdLnhtbCCiyQEooAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAMAdAAB3b3JkL3N0eWxlcy54bWxQSwECLQAUAAYACAAAACEASnSMYcoIAAD3LgAAEwAAAAAAAAAAAAAAAAAIKQAAY3VzdG9tWG1sL2l0ZW0xLnhtbFBLAQItABQABgAIAAAAIQB0Pzl6wgAAACgBAAAeAAAAAAAAAAAAAAAAACsyAABjdXN0b21YbWwvX3JlbHMvaXRlbTEueG1sLnJlbHNQSwECLQAUAAYACAAAACEAPSiAX7YAAADJAAAAGAAAAAAAAAAAAAAAAAAxNAAAY3VzdG9tWG1sL2l0ZW1Qcm9wczIueG1sUEsBAi0AFAAGAAgAAAAhAL2EYiOQAAAA2wAAABMAAAAAAAAAAAAAAAAARTUAAGN1c3RvbVhtbC9pdGVtMi54bWxQSwECLQAUAAYACAAAACEApxCnGbYAAADJAAAAGAAAAAAAAAAAAAAAAAAuNgAAY3VzdG9tWG1sL2l0ZW1Qcm9wczEueG1sUEsBAi0AFAAGAAgAAAAhAFyWJyLDAAAAKAEAAB4AAAAAAAAAAAAAAAAAQjcAAGN1c3RvbVhtbC9fcmVscy9pdGVtMi54bWwucmVsc1BLAQItABQABgAIAAAAIQB/i0PDwQAAACIBAAATAAAAAAAAAAAAAAAAAEk5AABjdXN0b21YbWwvaXRlbTMueG1sUEsBAi0AFAAGAAgAAAAhAF2Pkjy5AAAAyQAAABgAAAAAAAAAAAAAAAAAYzoAAGN1c3RvbVhtbC9pdGVtUHJvcHMzLnhtbFBLAQItABQABgAIAAAAIQAAw+x7EQEAAJIBAAATAAAAAAAAAAAAAAAAAHo7AABkb2NQcm9wcy9jdXN0b20ueG1sUEsBAi0AFAAGAAgAAAAhAHvzAqPDAAAAKAEAAB4AAAAAAAAAAAAAAAAAxD0AAGN1c3RvbVhtbC9fcmVscy9pdGVtMy54bWwucmVsc1BLBQYAAAAAFQAVAHsFAADLPwAAAAA=","contentType":"application/vnd.openxmlformats-officedocument.wordprocessingml.document","fileName":"TestDocument.docx","tempGuid":"7a79aee7-0aff-51fb-2e7c-e2445c418b89"}
0
5683
When method post
212
20:37:13.905 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/document/UploadDocument
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Length: 24547
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"documentDesc":"TestDocument.docx","acaId":13996,"acaType":"application","bureau":"bureau","documentType":{"key":1,"value":"20 DAY NOTICE","description":null,"documentSubCategory":"20 DAY"},"documentCategory":null,"receivedDate":"2022\/11\/15","createdDate":"2022-11-15T20:37:13.899Z","documentBase64":"data:application\/vnd.openxmlformats-officedocument.wordprocessingml.document;base64,UEsDBBQABgAIAAAAIQDupm+0lQEAACkHAAATAM0BW0NvbnRlbnRfVHlwZXNdLnhtbCCiyQEooAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAYzoAAGN1c3RvbVhtbC9pdGVtUHJvcHMzLnhtbFBLAQItABQABgAIAAAAIQAAw+x7EQEAAJIBAAATAAAAAAAAAAAAAAAAAHo7AABkb2NQcm9wcy9jdXN0b20ueG1sUEsBAi0AFAAGAAgAAAAhAHvzAqPDAAAAKAEAAB4AAAAAAAAAAAAAAAAAxD0AAGN1c3RvbVhtbC9fcmVscy9pdGVtMy54bWwucmVsc1BLBQYAAAAAFQAVAHsFAADLPwAAAAA=","contentType":"application\/vnd.openxmlformats-officedocument.wordprocessingml.document","fileName":"TestDocument.docx","tempGuid":"7a79aee7-0aff-51fb-2e7c-e2445c418b89"}
20:37:14.116 response time in milliseconds: 211
1 < 200
1 < Content-Length: 4
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:13 GMT
true
5684
Then status 200
0
5685
And print response
0
20:37:14.116 [print] true
5686
* match response == 'true'
0
243
* call read('LicensesCommonMethods.feature@SubmitLicenseAndValidateLicStatus') {expStatus:'Awaiting Review'}
2579
>>
karate.UseCases.LicensesCommonMethods
1785
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Application SUBMIT *********************
1099
Given path '/internalapi/api/licensing/app/submit'
0
1100
And header authorization = 'Bearer ' + strToken
0
1101
And request {"appId":'#(appId)',"wfType":null}
0
1102
When method post
237
20:37:14.915 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/submit
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 29
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"appId":13996,"wfType":null}
20:37:15.151 response time in milliseconds: 236
1 < 200
1 < Content-Length: 121
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:15 GMT
{"success":true,"submittedApps":[{"success":true,"taskId":0,"appId":13996,"applicationId":"RE-22-106378-01","error":""}]}
1103
Then status 200
0
1104
And def serverResponse = response
0
1105
And match response.success == true
0
1106
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
1542
>>
karate.UseCases.LicensesCommonMethods
494
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
345
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
145
20:37:16.542 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13996
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:37:16.686 response time in milliseconds: 144
1 < 200
1 < Content-Length: 212
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:16 GMT
{"applicationId":"RE-22-106378-01","submitDate":"2022-11-15T10:07:15.08","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":true}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:37:16.687 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
0
244
* def licPerType = 'license'
0
245
* call read('LicensesCommonMethods.feature@AssignApplicationsToExaminer') {expStatus:'Awaiting Review'}
1611
>>
karate.UseCases.LicensesCommonMethods
1060
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* AssignApplicationsSaveDigestDataToExaminer *********************
1139
Given path '/internalapi/api/licensing/examiner/assignApplicationsToExaminer'
0
1140
And header authorization = 'Bearer ' + strToken
0
1141
And request [{"appId":'#(appId)',"examinerId":1069,"priority":"Normal"}]
0
1142
When method post
192
20:37:17.248 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner/assignApplicationsToExaminer
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 55
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"appId":13996,"examinerId":1069,"priority":"Normal"}]
20:37:17.439 response time in milliseconds: 191
1 < 200
1 < Content-Length: 5
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:16 GMT
false
1143
And def serverResponse = response
0
1144
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
866
>>
karate.UseCases.LicensesCommonMethods
364
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
190
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
171
20:37:18.129 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13996
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:37:18.300 response time in milliseconds: 171
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:18 GMT
1 < Content-Length: 212
{"applicationId":"RE-22-106378-01","submitDate":"2022-11-15T10:07:15.08","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":true}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:37:18.300 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
0
Scenario: [2.1:346]
SLA_REN_Permit_AssignToExaminer
ms: 22188
>>
Background:
3
* url BaseURL
0
20:37:18.391 karate.env system property was: svamqa
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def amendmentTypeId = 1
0
8
* callonce read('LoginDetails.feature') { strToken:'#(strToken)'}
32
9
* def getcorporateStructureCodeFunc =
0
function(value){
if (value === 'Individual'){
return 1;
}
else {
return 2;
}
}
20
* def getStatusIndOrgStatus =
0
function(value){
if (value === 'Individual'){
return true;
}
else {
return false;
}
}
31
* def getIndORgCodeFunc =
0
function(value1, value2){
if (value1 == 1 && value2 == 'Individual'){
return 1;
}
else if (value1 == 1 && value2 == 'Sole Propretior'){
return 2;
}
else if (value1 == 2 && value2 == 'Individual'){
return 1;
}
else if (value1 == 2 && value2 == 'Limited Liability Company'){
return 2;
}else if (value1 == 2 && value2 == 'Corporation'){
return 3;
}else if (value1 == 2 && value2 == 'Limited Liability Partnership'){
return 4;
}else if (value1 == 2 && value2 == 'Limited Partnership'){
return 5;
}else if (value1 == 2 && value2 == 'Partnership'){
return 6;
}else if (value1 == 2 && value2 == 'Government'){
return 7;
}else if (value1 == 2 && value2 == 'Sole Propretior'){
return 8;
}else if (value1 == 2 && value2 == 'Trust'){
return 9;
}else if (value1 == 2 && value2 == 'Estate'){
return 10;
}
else {
return 1;
}
}
68
* def getAmendmentTypeIdFunc =
0
function(amendmentType){
if (amendmentType == 'ABC Officer'){
return 1;
}
else if (amendmentType == 'Additional Bar'){
return 2;
}
else if (amendmentType == 'Alteration'){
return 3;
}
else if (amendmentType == 'Alteration with Additional Bar'){
return 3;
}
}
87
* def waitFunc =
0
function(timeinMiliSeconds) {
// load java type into js engine
var Thread = Java.type('java.lang.Thread');
Thread.sleep(timeinMiliSeconds*1000);
}
95
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
106
* def fundDueDateFuncRenewal =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
118
* def getMMMMDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("MMMM dd, yyyy");
var date = new java.util.Date();
return sdf.format(date);
}
128
* def mmmmdate = getMMMMDate()
1
130
* def getMMYYDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("MM/dd/yyyy");
var date = new java.util.Date();
return sdf.format(date);
}
140
* def mmyydate = getMMYYDate()
0
142
* def getFundDueDateMMYYDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("MM/dd/yyyy");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
154
* def mmyydateFundDueDate = getFundDueDateMMYYDate(7)
0
156
* def dateFnc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date( date.getTime() - java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
262
* def IndOrgSelectionDropDown = 'Individual'
0
263
* def indOrgCode = getIndORgCodeFunc(IndOrgSelectionDropDown)
0
264
And print indOrgCode
0
20:37:18.425 [print] 1
265
* def isIndStatus = getStatusIndOrgStatus(IndOrgSelectionDropDown)
0
266
* def CorporateStructureDropDown = 'Individual'
0
267
* def CorporateStructureDropDownCode = getIndORgCodeFunc(indOrgCode,CorporateStructureDropDown)
0
268
And print CorporateStructureDropDownCode
0
20:37:18.426 [print] 1
269
* def firstName = 'Automation'
0
270
* def lastName = 'Automation'
0
271
* def legalName = firstName+ ' '+lastName
0
272
* def Address1 = 'Address1'
0
273
* def Address2 = 'Address2'
0
274
* def CityName = 'New York'
0
275
* def zipCode = '12345'
0
276
* def postalCode = '1234'
0
277
* def countryName = 'United States (US)'
0
278
* def emailId = 'automation@svam.com'
0
279
* def convictedOfCrime = '1'
0
280
* def percentageOfOwners = '20'
0
281
* def isFingerprintRequired = true
0
282
* def isFingerprintsApproved = true
0
283
* def isSignature = true
0
285
* def convictedOfCrime = '1'
0
286
* def PhoneNumber = '999-999-9999'
0
287
* def PhoneExtn = 1234
0
288
* def countryCode = '+91'
0
289
* def stateCode = 40
0
291
* def mainLicensePermitTypeId = 422
0
292
* def termInYears = 3
0
293
* def termDesc = 3+' Year (s)'
0
294
* def licenseFees = 192
0
295
* def fillingFees = 20
0
296
* def licAncillaryFees = 0
0
297
* def renewalFees = 30+''
0
298
* string productName = 'Industrial alcohol'+''
0
300
* def CountyId = 12
0
301
* def CountyName = 'New York'
0
302
* def totalFees = licenseFees+fillingFees+licAncillaryFees
0
303
* def splittedCityName = CityName.replaceAll(" ","")
0
305
* call read('PermitsCommonMethods.feature@IntakeStandalonePermitwithoutLic') {}
420
>>
karate.UseCases.PermitsCommonMethods
342
4
* url BaseURL
0
5
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
6
* def DbUtils = Java.type('utils.DbUtils')
0
7
* def db = new DbUtils(config)
0
8
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
18
* def date = getDate2()
1
19
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
28
* def fundDueDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 7 ));
return sdf.format(dayAfter);
}
39
* def fundDueDate = fundDueDateFunc()
1
40
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
51
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
192
Given path '/internalapi/api/licensing/selectapptype/savenewpermitapp'
0
193
* def dbSts = db.cleanHeap()
187
194
And header authorization = 'Bearer ' + strToken
0
195
And header Content-Type = 'application/json; charset=utf-8'
0
196
And header Accept = 'application/json; text/plain;*/*'
0
197
And request {"businessType":"","permitType":"Standalone Permit","mainLicenseId":null,"tempPermitTypeId":[],"mainApplicationId":"","associatedLicenseList":[],"isMainTempPermitRequired":false,"newPermitTypeIds":[{"permitTypeId":'#(mainLicensePermitTypeId)'}],"isNotQualified":false,"notQualifiedReason":""}
0
198
When method post
151
20:37:18.681 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/selectapptype/savenewpermitapp
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 267
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"businessType":"","permitType":"Standalone Permit","mainLicenseId":null,"tempPermitTypeId":[],"mainApplicationId":"","associatedLicenseList":[],"isMainTempPermitRequired":false,"newPermitTypeIds":[{"permitTypeId":422}],"isNotQualified":false,"notQualifiedReason":""}
20:37:18.831 response time in milliseconds: 150
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:18 GMT
1 < Content-Length: 175
[{"appId":13997,"formId":1110,"childAppId":null,"mainApplicationId":"NA-0566-22-19159","childApplicationId":null,"licensePermitTypeId":422,"description":"Industrial alcohol"}]
199
Then status 200
0
200
And def ApplicationId = response[0].mainApplicationId
0
201
And print ApplicationId
0
20:37:18.831 [print] NA-0566-22-19159
202
And match ApplicationId contains 'NA-'
0
203
And def description = response[0].description
0
204
And print description
0
20:37:18.832 [print] Industrial alcohol
205
And def appId = response[0].appId
0
206
* def formId = response[0].formId
0
307
* call read('LicensesCommonMethods.feature@FillAndSaveApplicantInformationPage') {}
654
>>
karate.UseCases.LicensesCommonMethods
174
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
700
* def getDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
709
Given path '/internalapi/api/licensing/app/static/applicantinfo/save/'+appId
0
710
And header Content-Type = 'application/json; charset=utf-8'
0
712
* def autoFirstName = firstName + getDate()
0
713
* def legalName = autoFirstName + lastName
0
714
And header Accept = 'application/json; text/plain;*/*'
0
715
And header authorization = 'Bearer ' + strToken
0
716
And request {"businessInfo":{"website":null,"businessEntity":{"individualOrganization":'#(indOrgCode)',"corporateStructure":'#(CorporateStructureDropDownCode)',"firstName":'#(autoFirstName)',"lastName":'#(lastName)',"middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":'#(legalName)',"id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":'#(IndOrgSelectionDropDown)',"corporateStructureText":'#(CorporateStructureDropDown)',"isIndividual":'#(isIndStatus)'},"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"2","phoneTypeText":"Office","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
0
717
When method post
172
20:37:19.311 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/applicantinfo/save/13997
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Length: 2167
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"businessInfo":{"website":null,"businessEntity":{"individualOrganization":1,"corporateStructure":1,"firstName":"Automation20221115203719","lastName":"Automation","middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":"Automation20221115203719Automation","id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":"Individual","corporateStructureText":"Individual","isIndividual":true},"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"2","phoneTypeText":"Office","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
20:37:19.483 response time in milliseconds: 171
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:19 GMT
1 < Content-Length: 2185
{"businessInfo":{"id":0,"website":null,"isLicensed":false,"isAssociated":false,"businessEntity":{"id":4020,"individualOrganization":"1","corporateStructure":1,"isEmployeeForSoleProprietor":null,"firstName":"Automation20221115203719","lastName":"Automation","middleName":"AutoMidName","ssn":"","fein":"","legalName":"Automation20221115203719Automation","suffix":"1","corporateStructureText":"Individual","individualOrganizationText":"Individual","isIndividual":true},"address":{"addressId":29478,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"US","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25386,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":7870,"phoneType":3,"countryCode":"91","phone":"999-999-9999","phoneExtension":"1234"}]}},"premisesInfo":{"id":13200,"dba":null,"countyId":0,"countyName":null,"isDbaSearched":null,"isPremisesRequired":true,"licensePermitID":"","address":{"addressId":29479,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"US","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25387,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":7871,"phoneType":2,"countryCode":"+91","phone":"999-999-9999","phoneExtension":"1234"}]}},"applicantDetail":{"id":9792,"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"isPhysicalChange":null,"applicantStatement":{"id":4333,"nameOfApplicant":null,"title":null,"signature":null,"date":null}}}
718
Then status 200
0
308
* call read('LicensesCommonMethods.feature@FillAndSavePrincipalPage') {}
656
>>
karate.UseCases.LicensesCommonMethods
185
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
745
* def getDate1 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
754
Given path '/internalapi/api/licensing/app/static/principal/save/'+appId
0
755
And header Content-Type = 'application/json; charset=utf-8'
0
756
* def prncipalName = firstName + getDate1()
0
757
* def dt = licDate()
0
758
And header Accept = 'application/json; text/plain;*/*'
0
759
And header authorization = 'Bearer ' + strToken
0
760
And request {"entities":[],"principals":[{"principalId":0,"convictedOfCrime":'#(convictedOfCrime)',"percentageOfOwners":'#(percentageOfOwners)',"isFingerprintRequired":'#(isFingerprintRequired)',"isFingerprintsApproved":'#(isFingerprintsApproved)',"title":"15","numberOfShares":"","isSignature":false,"date":'#(dt)',"address":{"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"stateId":'#(stateCode)',"county":'#(CountyName)',"city":"New York","zipCode":'#(zipCode)',"zip4":'#(postalCode)',"country":'#(countryName)',"stateName":'#(CityName)',"countryId":229,"zip":'#(zipCode)'},"person":{"personId":0,"firstName":'#(prncipalName)',"middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":'#(dt)',"age":"","choosedEntity":null,"ssnFormat":"","suffixText":"JR"},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":'#(emailId)',"confirmEmail":'#(emailId)'},"titleText":"Vice President","convictedOfCrimeText":"No","disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
0
# {"entities":[],"principals":[{"principalId":0,"convictedOfCrime":"" ,"percentageOfOwners":"" ,"isFingerprintRequired":true ,"isFingerprintsApproved":true ,"title":"","dcjsFingerPrintStatus":"","numberOfShares":"","isSignature":"","date":"","address":{"addressLine1":"","addressLine2":"","stateId":40,"county":"","city":"","zipCode":"","zip4":"","country":"United States (US)","stateName":"New York","countryId":229,"zip":""},"person":{"personId":0,"firstName":"XA","middleName":"","lastName":"sa","suffix":"","socialSecurityNo":"","birthDate":"","age":"","choosedEntity":null,"ssnFormat":""},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":null,"confirmEmail":null},"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
762
When method post
182
20:37:19.960 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/principal/save/13997
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Length: 1107
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"entities":[],"principals":[{"principalId":0,"convictedOfCrime":"1","percentageOfOwners":"20","isFingerprintRequired":true,"isFingerprintsApproved":true,"title":"15","numberOfShares":"","isSignature":false,"date":"2022-11-15T20:37:19.959Z","address":{"addressLine1":"Address1","addressLine2":"Address2","stateId":40,"county":"New York","city":"New York","zipCode":"12345","zip4":"1234","country":"United States (US)","stateName":"New York","countryId":229,"zip":"12345"},"person":{"personId":0,"firstName":"Automation20221115203719","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T20:37:19.959Z","age":"","choosedEntity":null,"ssnFormat":"","suffixText":"JR"},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":"automation@svam.com","confirmEmail":"automation@svam.com"},"titleText":"Vice President","convictedOfCrimeText":"No","disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
20:37:20.142 response time in milliseconds: 182
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:19 GMT
1 < Content-Length: 1390
{"entities":[],"principals":[{"principalId":3320,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":true,"isFingerprintsApproved":true,"percentageOfOwners":20.0,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","entities":null,"numberOfShares":"","isSignature":false,"isRemove":false,"date":"2022-11-15T00:00:00","convictedOfCrime":"1","title":"15","isLicensed":false,"isAssociated":false,"person":{"personId":5637,"firstName":"Automation20221115203719","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T00:00:00","serialNo":0,"age":0,"choosedEntity":[]},"address":{"addressId":29480,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25388,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}}]}
763
Then status 200
0
309
* call read('LicensesCommonMethods.feature@FillAndSaveRepresentativePage') {}
702
>>
karate.UseCases.LicensesCommonMethods
180
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Representative *********************
790
Given path '/internalapi/api/licensing/app/static/rep/save/'+appId
0
791
And header authorization = 'Bearer ' + strToken
0
792
And request {"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":'#(CountyName)',"city":'#(CityName)',"zipCode":"10011","country":"United States (US)","stateName":'#(CityName)',"countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
0
793
When method post
178
20:37:20.677 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/rep/save/13997
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 897
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":"New York","city":"New York","zipCode":"10011","country":"United States (US)","stateName":"New York","countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
20:37:20.855 response time in milliseconds: 178
1 < 200
1 < Content-Length: 4
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:20 GMT
true
794
Then status 200
0
795
And def serverResponse = response
0
310
* call read('LicensesCommonMethods.feature@FeesValidation') {amount:'#(totalFees)'}
2609
>>
karate.UseCases.LicensesCommonMethods
2066
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
810
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
820
* def futureDate = futureDateFunc()
1
822
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
832
* def date = getDate2()
0
834
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
835
And header Content-Type = 'application/json; charset=utf-8'
0
836
And header Accept = 'application/json; text/plain;*/*'
0
837
And header authorization = 'Bearer ' + strToken
0
838
And request {}
0
839
When method get
233
20:37:21.399 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/13997
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:37:21.631 response time in milliseconds: 232
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:20 GMT
1 < Content-Length: 655
[{"licenseName":"Industrial alcohol","applicationId":"NA-0566-22-19159","applicationTypeId":1,"appFeesId":0,"appId":13997,"feesRefId":7170,"initialFees":0.0,"licensingFees":192.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":20.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
840
Then status 200
0
841
And def serverResponse = response
0
842
* def licTerm = serverResponse[0].term
0
843
* def licFees = serverResponse[0].licensingFees+''
0
844
* def licTermDesc = serverResponse[0].termDesc
0
845
* def licFeesRefId = serverResponse[0].feesRefId
0
846
* def licAncillaryFees = serverResponse[0].ancillaryFees+''
0
847
* def licfilingFees = serverResponse[0].filingFees+''
0
848
* def licInitialFees = serverResponse[0].initialFees
0
849
* def bndFees = serverResponse[0].bondFee
0
850
* def isBondRequired = serverResponse[0].isBondRequired
0
851
And def totalFees = serverResponse[0].licensingFees+serverResponse[0].filingFees
0
852
And print totalFees
0
20:37:21.633 [print] 212.0
855
Given path '/internalapi/api/notification/SaveNotification'
0
857
And header Content-Type = 'application/json; charset=utf-8'
0
858
And header Accept = 'application/json; text/plain;*/*'
0
859
And header authorization = 'Bearer ' + strToken
0
860
And request {"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}
0
861
When method post
177
20:37:21.634 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/notification/SaveNotification
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
2 > Content-Length: 2006
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13997,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13997,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13997,"createdBy":"Tarun Gupta"}
20:37:21.810 response time in milliseconds: 176
2 < 200
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:07:20 GMT
2 < Content-Length: 5
false
862
Then status 200
0
863
And print response
0
20:37:21.810 [print] false
# And header Content-Type = 'application/json; charset=utf-8'
869
Given path 'internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
871
And header Accept = 'application/json; text/plain;*/*'
0
872
And header authorization = 'Bearer ' + strToken
0
874
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(amount)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(licTerm)',"termDesc":'#(licTermDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
875
When method post
290
20:37:21.812 request:
3 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13997/false
3 > Accept: application/json; text/plain;*/*
3 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
3 > Content-Type: application/json; charset=UTF-8
3 > Content-Length: 5068
3 > Host: slaleapqaapi.svam.com
3 > Connection: Keep-Alive
3 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
3 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":13997,"slaintakeDate":"2022-11-15T20:37:21.398Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T20:37:21.398Z","amount":212}],"appFees":{"appFees":[{"licenseName":"Industrial alcohol","applicationId":"NA-0566-22-19159","applicationTypeId":1,"appFeesId":0,"appId":13997,"feesRefId":7170,"initialFees":0,"licensingFees":192,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":212.0,"filingFees":"20","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":212.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T20:37:21.395Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13997,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13997,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13997,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13997,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13997,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13997,"createdBy":"Tarun Gupta"},"taskId":null}
20:37:22.101 response time in milliseconds: 289
3 < 200
3 < Content-Length: 4
3 < Content-Type: application/json; charset=utf-8
3 < Server: Microsoft-IIS/10.0
3 < Strict-Transport-Security: max-age=2592000
3 < X-Powered-By: ASP.NET
3 < Date: Tue, 15 Nov 2022 15:07:22 GMT
true
876
Then status 200
0
878
Given path 'internalapi/api/licensing/fees/check-payments/get/'+appId
0
879
And header authorization = 'Bearer ' + strToken
0
880
And request {}
0
881
When method get
153
20:37:22.102 request:
4 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/check-payments/get/13997
4 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
4 > Content-Type: application/json; charset=UTF-8
4 > Content-Length: 2
4 > Host: slaleapqaapi.svam.com
4 > Connection: Keep-Alive
4 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
4 > Accept-Encoding: gzip,deflate
{}
20:37:22.254 response time in milliseconds: 152
4 < 200
4 < Content-Length: 441
4 < Content-Type: application/json; charset=utf-8
4 < Server: Microsoft-IIS/10.0
4 < Strict-Transport-Security: max-age=2592000
4 < X-Powered-By: ASP.NET
4 < Date: Tue, 15 Nov 2022 15:07:22 GMT
[{"checkDetailId":2395,"appId":13997,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T00:00:00","slaintakeDate":"2022-11-15T00:00:00","amount":212.0000,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T10:07:22.077","modifiedBy":null,"modifiedDate":null}]
882
Then status 200
0
883
And def checkDetailId = response[0].checkDetailId
0
884
And print checkDetailId
0
20:37:22.255 [print] 2395
885
* def amount = response[0].amount
0
886
* def underpaidAmount = totalFees-amount
0
888
And print 'underpaidAmount- ',underpaidAmount
0
20:37:22.255 [print] underpaidAmount- 0.0
890
Given path '/internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
891
And header Content-Type = 'application/json; charset=utf-8'
0
892
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
903
* def futureDate = futureDateFunc()
2
904
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
913
* def date = getDate2()
0
915
And header Accept = 'application/json; text/plain;*/*'
0
916
And header authorization = 'Bearer ' + strToken
0
917
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(totalFees)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":'#(licInitialFees)',"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees)',"totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":'#(licAncillaryFees)',"isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
920
When method post
204
20:37:22.258 request:
5 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13997/false
5 > Content-Type: application/json; charset=utf-8
5 > Accept: application/json; text/plain;*/*
5 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
5 > Content-Length: 5065
5 > Host: slaleapqaapi.svam.com
5 > Connection: Keep-Alive
5 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
5 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":13997,"slaintakeDate":"2022-11-15T20:37:22.257Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T20:37:22.257Z","amount":212.0}],"appFees":{"appFees":[{"licenseName":"Industrial alcohol","applicationId":"NA-0566-22-19159","applicationTypeId":1,"appFeesId":0,"appId":13997,"feesRefId":7170,"initialFees":0.0,"licensingFees":192,"amendmentFees":"0.00","renewalFees":"30","totalFees":212.0,"filingFees":"20","ancillaryFees":"0","isFeesWaived":false,"underPaymentAmount":212.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T20:37:21.395Z","emailNotificationDetail":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13997,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13997,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13997,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13997,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13997,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13997,"createdBy":"Tarun Gupta"},"taskId":null}
20:37:22.462 response time in milliseconds: 204
5 < 200
5 < Content-Type: application/json; charset=utf-8
5 < Server: Microsoft-IIS/10.0
5 < Strict-Transport-Security: max-age=2592000
5 < X-Powered-By: ASP.NET
5 < Date: Tue, 15 Nov 2022 15:07:22 GMT
5 < Content-Length: 4
true
921
Then status 200
0
# ********* SAVE Application Details To Save *********************
928
Given path '/internalapi/api/licensing/app/save'
0
929
And header authorization = 'Bearer ' + strToken
0
930
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
931
When method post
284
20:37:22.466 request:
6 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
6 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
6 > Content-Type: application/json; charset=UTF-8
6 > Content-Length: 30723
6 > Host: slaleapqaapi.svam.com
6 > Connection: Keep-Alive
6 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
6 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13997,"formID":1110,"applicationID":"NA-0566-22-19159","formName":"Industrial alcohol","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
20:37:22.748 response time in milliseconds: 282
6 < 200
6 < Content-Length: 50
6 < Content-Type: application/json; charset=utf-8
6 < Server: Microsoft-IIS/10.0
6 < Strict-Transport-Security: max-age=2592000
6 < X-Powered-By: ASP.NET
6 < Date: Tue, 15 Nov 2022 15:07:22 GMT
{"appId":13997,"applicationId":"NA-0566-22-19159"}
932
Then status 200
0
935
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
936
And header authorization = 'Bearer ' + strToken
0
937
And header Content-Type = 'application/json; charset=utf-8'
0
938
And header Accept = 'application/json; text/plain;*/*'
0
939
And request ""
0
940
When method get
252
20:37:22.749 request:
7 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/13997
7 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
7 > Content-Type: application/json; charset=utf-8
7 > Accept: application/json; text/plain;*/*
7 > Content-Length: 0
7 > Host: slaleapqaapi.svam.com
7 > Connection: Keep-Alive
7 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
7 > Accept-Encoding: gzip,deflate
20:37:23.000 response time in milliseconds: 251
7 < 200
7 < Content-Length: 658
7 < Content-Type: application/json; charset=utf-8
7 < Server: Microsoft-IIS/10.0
7 < Strict-Transport-Security: max-age=2592000
7 < X-Powered-By: ASP.NET
7 < Date: Tue, 15 Nov 2022 15:07:22 GMT
[{"licenseName":"Industrial alcohol","applicationId":"NA-0566-22-19159","applicationTypeId":1,"appFeesId":3128,"appId":13997,"feesRefId":7170,"initialFees":0.0,"licensingFees":192.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":20.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
941
Then status 200
0
942
And print response[0].appFeesId
0
20:37:23.001 [print] 3128
943
And def appFeesId1 = response[0].appFeesId
0
944
And def feesRefId1 = response[0].feesRefId
0
945
And print appFeesId1
0
20:37:23.001 [print] 3128
946
And print feesRefId1
0
20:37:23.001 [print] 7170
947
And def applicationTypeId = response[0].applicationTypeId
0
948
And print applicationTypeId
0
20:37:23.001 [print] 1
# ********* Save PAYMENT *********************
951
Given path '/internalapi/api/licensing/fees/details/save/'+appId +'/false'
0
953
* def slaDate = licFeesDate()
1
954
* def slaaDate = licDate()
0
955
* def licInitialFees1 = licInitialFees+''
0
956
And print licInitialFees1
0
20:37:23.002 [print] 0
957
* def renewalFees1 = renewalFees+''
0
958
And print renewalFees1
0
20:37:23.003 [print] 30
959
* def totalFees1 = totalFees+''
0
961
And print totalFees1
0
20:37:23.003 [print] 212
962
* def licAncillaryFees1 = licAncillaryFees+''
0
963
* def licfilingFees1 = licfilingFees+''
0
965
And header authorization = 'Bearer ' + strToken
0
966
And request {"checks":[{"checkDetailId":'#(checkDetailId)',"appId":'#(appId)',"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":'#(date)',"slaintakeDate":'#(date)',"amount":'#(amount)',"appliedTo":null,"amountUsed":'#(amount)',"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":'#(date)',"modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":'#(licFeesRefId)',"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees1)',"filingFees":'#(licfilingFees1)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(underpaidAmount)',"amountReceived":'#(amount)',"waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":'#(appId)',"checkDetailId":'#(checkDetailId)',"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":'#(amount)',"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
971
When method post
210
20:37:23.004 request:
8 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13997/false
8 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
8 > Content-Type: application/json; charset=UTF-8
8 > Content-Length: 5453
8 > Host: slaleapqaapi.svam.com
8 > Connection: Keep-Alive
8 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
8 > Accept-Encoding: gzip,deflate
{"checks":[{"checkDetailId":2395,"appId":13997,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T20:37:22.257Z","slaintakeDate":"2022-11-15T20:37:22.257Z","amount":212.0,"appliedTo":null,"amountUsed":212.0,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T20:37:22.257Z","modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":"Industrial alcohol","applicationId":"NA-0566-22-19159","applicationTypeId":1,"appFeesId":7170,"appId":13997,"feesRefId":7170,"initialFees":0,"licensingFees":192,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":"212","filingFees":"20","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":212.0,"waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":13997,"checkDetailId":2395,"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":212.0,"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":"2022-11-22T20:37:21.395Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13997,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13997,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13997,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13997,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13997,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13997,"createdBy":"Tarun Gupta"},"taskId":null}
20:37:23.213 response time in milliseconds: 209
8 < 200
8 < Content-Length: 4
8 < Content-Type: application/json; charset=utf-8
8 < Server: Microsoft-IIS/10.0
8 < Strict-Transport-Security: max-age=2592000
8 < X-Powered-By: ASP.NET
8 < Date: Tue, 15 Nov 2022 15:07:23 GMT
true
972
Then status 200
0
973
And print response
0
20:37:23.213 [print] true
# ********* SAVE Application Details To Save *********************
978
Given path '/internalapi/api/licensing/app/save'
0
979
And header authorization = 'Bearer ' + strToken
0
980
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
981
When method post
248
20:37:23.217 request:
9 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
9 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
9 > Content-Type: application/json; charset=UTF-8
9 > Content-Length: 30723
9 > Host: slaleapqaapi.svam.com
9 > Connection: Keep-Alive
9 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
9 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13997,"formID":1110,"applicationID":"NA-0566-22-19159","formName":"Industrial alcohol","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
20:37:23.463 response time in milliseconds: 246
9 < 200
9 < Content-Length: 50
9 < Content-Type: application/json; charset=utf-8
9 < Server: Microsoft-IIS/10.0
9 < Strict-Transport-Security: max-age=2592000
9 < X-Powered-By: ASP.NET
9 < Date: Tue, 15 Nov 2022 15:07:23 GMT
{"appId":13997,"applicationId":"NA-0566-22-19159"}
982
Then status 200
0
983
And def serverResponse = response
0
311
* call read('LicensesCommonMethods.feature@SubmitLicenseAndValidateLicStatus') {expStatus:'Awaiting Review'}
2565
>>
karate.UseCases.LicensesCommonMethods
1812
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Application SUBMIT *********************
1099
Given path '/internalapi/api/licensing/app/submit'
0
1100
And header authorization = 'Bearer ' + strToken
0
1101
And request {"appId":'#(appId)',"wfType":null}
0
1102
When method post
248
20:37:24.222 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/submit
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 29
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"appId":13997,"wfType":null}
20:37:24.468 response time in milliseconds: 246
1 < 200
1 < Content-Length: 122
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:24 GMT
{"success":true,"submittedApps":[{"success":true,"taskId":0,"appId":13997,"applicationId":"NA-0566-22-19159","error":""}]}
1103
Then status 200
0
1104
And def serverResponse = response
0
1105
And match response.success == true
0
1106
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
1561
>>
karate.UseCases.LicensesCommonMethods
417
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
259
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
155
20:37:25.873 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13997
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:37:26.026 response time in milliseconds: 153
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:26 GMT
1 < Content-Length: 215
{"applicationId":"NA-0566-22-19159","submitDate":"2022-11-15T10:07:24.38","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":false,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:37:26.026 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
0
313
* call read('LicensesCommonMethods.feature@AssignApplicationsToExaminer') {expStatus:'Awaiting Review'}
1590
>>
karate.UseCases.LicensesCommonMethods
1161
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* AssignApplicationsSaveDigestDataToExaminer *********************
1139
Given path '/internalapi/api/licensing/examiner/assignApplicationsToExaminer'
0
1140
And header authorization = 'Bearer ' + strToken
0
1141
And request [{"appId":'#(appId)',"examinerId":1069,"priority":"Normal"}]
0
1142
When method post
188
20:37:26.462 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner/assignApplicationsToExaminer
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 55
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"appId":13997,"examinerId":1069,"priority":"Normal"}]
20:37:26.650 response time in milliseconds: 188
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:26 GMT
1 < Content-Length: 5
false
1143
And def serverResponse = response
0
1144
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
971
>>
karate.UseCases.LicensesCommonMethods
427
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
190
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
235
20:37:27.383 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13997
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:37:27.616 response time in milliseconds: 233
1 < 200
1 < Content-Length: 215
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:27 GMT
{"applicationId":"NA-0566-22-19159","submitDate":"2022-11-15T10:07:24.38","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":false,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:37:27.616 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
0
315
* call read('PermitsCommonMethods.feature@PermitExaminerReview') {isFingerPrintsApproved:true,isFingerPrintsRequired:false,expStatus:'Awaiting Review'}
754
>>
karate.UseCases.PermitsCommonMethods
712
4
* url BaseURL
0
5
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
6
* def DbUtils = Java.type('utils.DbUtils')
0
7
* def db = new DbUtils(config)
0
8
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
18
* def date = getDate2()
1
19
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
28
* def fundDueDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 7 ));
return sdf.format(dayAfter);
}
39
* def fundDueDate = fundDueDateFunc()
1
40
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
51
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
387
* def summisionDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS");
var date = new java.util.Date();
return sdf.format(date);
}
398
* def formatedSumbitDate = summisionDate()
0
399
Given path '/internalapi/api/application/'+appId
0
400
* def dbSts = db.cleanHeap()
101
401
And header authorization = 'Bearer ' + strToken
0
402
And header Content-Type = 'application/json; charset=utf-8'
0
403
And header Accept = 'application/json; text/plain;*/*'
0
404
And configure continueOnStepFailure = true
0
405
And request {}
0
406
When method get
213
20:37:27.766 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/13997
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:37:27.978 response time in milliseconds: 212
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:27 GMT
1 < Content-Length: 2485
{"applicationCategory":6,"appId":13997,"applicationId":"NA-0566-22-19159","licePermitTypeId":null,"applicationTypeId":1,"formVersionId":1497,"formId":1110,"legalName":"Automation20221115203719Automation","submitDate":"2022-11-15T10:07:24.38","isGISRequired":false,"licenseDescription":"Industrial alcohol","recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":"New York","priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Awaiting Review","taskId":1526,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":false,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":"11/22/2022 12:00:00 AM","memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":2746,"appId":13997,"examinerId":1069,"name":null,"assignDate":"2022-11-15T10:07:26.6","isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":422,"type":"2","category":"6","product":"","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":true,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":422,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"clericalName":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":3,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"isFairOrFestival":false,"isShowEffExpDateOnLBReview":false,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":"2022-11-15T10:07:26.6"}
407
* configure continueOnStepFailure = true
0
408
Then status 200
0
409
And def formVersionId = response.formVersionId
0
410
And print formVersionId
0
20:37:27.979 [print] 1497
411
And def formId = response.formId
0
412
And print formId
0
20:37:27.979 [print] 1110
413
And def legalName = response.legalName
0
414
And print legalName
0
20:37:27.979 [print] Automation20221115203719Automation
415
And def submitDate = response.submitDate
0
416
And print submitDate
0
20:37:27.979 [print] 2022-11-15T10:07:24.38
417
And def modifiedDate = response.modifiedDate
0
418
And print modifiedDate
0
20:37:27.979 [print] 2022-11-15T10:07:26.6
420
And def pastDueDate = response.pastDueDate
0
421
And print pastDueDate
0
20:37:27.980 [print] 11/22/2022 12:00:00 AM
423
And def appExaminerId = response.assignAppExaminer.appExaminerId
0
424
And print appExaminerId
0
20:37:27.980 [print] 2746
425
And def examinerId = response.assignAppExaminer.examinerId
0
426
And print examinerId
0
20:37:27.980 [print] 1069
427
And def assignDate = response.assignAppExaminer.assignDate
0
428
And print assignDate
0
20:37:27.980 [print] 2022-11-15T10:07:26.6
429
And def licPermitTypeId = response.licePermitType.licPermitTypeId
0
430
And print licPermitTypeId
0
20:37:27.980 [print] 422
431
And def type = response.licePermitType.type
0
432
And print type
0
20:37:27.980 [print] 2
433
And def category = response.licePermitType.category
0
434
And print category
0
20:37:27.981 [print] 6
435
And def product = response.licePermitType.product
0
436
And print product
0
20:37:27.981 [print]
437
And def licenseDescription = response.licenseDescription
0
438
And print licenseDescription
0
20:37:27.981 [print] Industrial alcohol
441
Given path '/internalapi/api/licensing/examiner-review/SaveNewPermit'
0
443
And header authorization = 'Bearer ' + strToken
0
444
And header current-wfroleid = 4
0
445
And request {"isFingerPrintsApproved":'#(isFingerPrintsApproved)',"isFingerPrintsRequired":'#(isFingerPrintsRequired)',"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"application":{"applicationCategory":6,"appId":'#(appId)',"applicationId":'#(ApplicationId)',"licePermitTypeId":null,"applicationTypeId":1,"formVersionId":'#(formVersionId)',"formId":'#(formId)',"legalName":'#(legalName)',"submitDate":'#(formatedSumbitDate)',"isGISRequired":null,"licenseDescription":'#(licenseDescription)',"recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":'#(CountyName)',"priority":"Normal","expirationDate":null,"appStatusId":2,"taskStatus":"Awaiting Review","taskId":1526,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":false,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":null,"memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"event":null,"appStatus":{"appStatusId":2,"statusDescription":"IntakeComplete","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":'#(appExaminerId)',"appId":'#(appId)',"examinerId":1069,"name":null,"assignDate":'#(formatedSumbitDate)',"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":'#(licPermitTypeId)',"type":"2","category":"6","product":"","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":true,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":'#(licPermitTypeId)',"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"licenseId":null,"address":null,"isNybeApp":true,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":'#(formatedSumbitDate)'},"appId":'#(appId)',"notificationTypeId":2028,"applicationType":1,"decisionType":{"name":"Send to Licensing Board","value":2},"emailNotificationModel":{"applicant":{},"attorney":{},"communityBoard":{},"other":{}},"hasErrors":[],"taskId":1526,"newComments":"SEND TO LB AUTOMATION","recommendedDecisionId":"1"}
0
446
When method post
393
20:37:27.982 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner-review/SaveNewPermit
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
2 > current-wfroleid: 4
2 > Content-Type: application/json; charset=UTF-8
2 > Content-Length: 3041
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"isFingerPrintsApproved":true,"isFingerPrintsRequired":false,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"application":{"applicationCategory":6,"appId":13997,"applicationId":"NA-0566-22-19159","licePermitTypeId":null,"applicationTypeId":1,"formVersionId":1497,"formId":1110,"legalName":"Automation20221115203719Automation","submitDate":"2022-11-15T20:37:27.663","isGISRequired":null,"licenseDescription":"Industrial alcohol","recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":"New York","priority":"Normal","expirationDate":null,"appStatusId":2,"taskStatus":"Awaiting Review","taskId":1526,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":false,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":null,"memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"event":null,"appStatus":{"appStatusId":2,"statusDescription":"IntakeComplete","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":2746,"appId":13997,"examinerId":1069,"name":null,"assignDate":"2022-11-15T20:37:27.663","isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":422,"type":"2","category":"6","product":"","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":true,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":422,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"licenseId":null,"address":null,"isNybeApp":true,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":"2022-11-15T20:37:27.663"},"appId":13997,"notificationTypeId":2028,"applicationType":1,"decisionType":{"name":"Send to Licensing Board","value":2},"emailNotificationModel":{"applicant":{},"attorney":{},"communityBoard":{},"other":{}},"hasErrors":[],"taskId":1526,"newComments":"SEND TO LB AUTOMATION","recommendedDecisionId":"1"}
20:37:28.374 response time in milliseconds: 392
2 < 200
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:07:27 GMT
2 < Content-Length: 4
true
447
Then status 200
0
316
* call read('LicensesCommonMethods.feature@ValidateLicenseApplicationStatus') {LicAppStatus:'Under Review'}
756
>>
karate.UseCases.LicensesCommonMethods
209
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1326
Given path 'internalapi/api/GenericSearch/SearchLicense'
0
1327
And header Content-Type = 'application/json; charset=utf-8'
0
1328
And header Accept = 'application/json; text/plain;*/*'
0
1329
And header authorization = 'Bearer ' + strToken
0
1330
And params {page:1,pageSize:10}
0
1331
And request [{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":'#(ApplicationId)'}]
0
1332
When method post
205
20:37:28.923 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/GenericSearch/SearchLicense?pageSize=10&page=1
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Length: 95
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":"NA-0566-22-19159"}]
20:37:29.127 response time in milliseconds: 204
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:29 GMT
1 < Content-Length: 643
{"data":[{"acaId":13997,"acaType":"application","applicationLicenseId":null,"legacySerialNo":"","legalName":"Automation20221115203719Automation","dba":null,"licenseDescription":"Industrial alcohol","expirationDate":null,"examinerAssigned":"Tarun Gupta","premisesAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","applicantAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","feinSsn":"","formId":1110,"applicationId":"NA-0566-22-19159","licenseId":null,"wfRoleId":2,"applicationStatus":"Under Review","licenseStatus":null}],"total":1,"aggregateResults":null,"errors":null}
1333
Then status 200
0
1334
And print response
0
20:37:29.128 [print] {
"data": [
{
"acaId": 13997,
"acaType": "application",
"applicationLicenseId": null,
"legacySerialNo": "",
"legalName": "Automation20221115203719Automation",
"dba": null,
"licenseDescription": "Industrial alcohol",
"expirationDate": null,
"examinerAssigned": "Tarun Gupta",
"premisesAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"applicantAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"feinSsn": "",
"formId": 1110,
"applicationId": "NA-0566-22-19159",
"licenseId": null,
"wfRoleId": 2,
"applicationStatus": "Under Review",
"licenseStatus": null
}
],
"total": 1,
"aggregateResults": null,
"errors": null
}
1335
* match response.data[0].applicationStatus == '#(LicAppStatus)'
1
317
* call read('LicensesCommonMethods.feature@AddLicenseClaimingQueue') {}
763
>>
karate.UseCases.LicensesCommonMethods
150
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* LB Claiming Queue *********************
5367
Given path 'internalapi/api/licensing/claiming-queue/add/'+appId +'/1069'
0
5368
And header authorization = 'Bearer ' + strToken
0
5369
And header current-wfroleid = 5
0
5370
And request {}
0
5371
When method post
148
20:37:29.745 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/claiming-queue/add/13997/1069
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > current-wfroleid: 5
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:37:29.890 response time in milliseconds: 145
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:29 GMT
1 < Content-Length: 4
true
5372
Then status 200
0
5373
And def serverResponse = response
0
5374
And print serverResponse
0
20:37:29.891 [print] true
318
* def licStatus = 'Approved'
0
319
* def expStatus = 'Approved'
0
320
* def checboxDisapprovalCause = false
0
321
* call read('PermitsCommonMethods.feature@PermitLBDecisions') {StipulationsCount:0}
496
>>
karate.UseCases.PermitsCommonMethods
433
4
* url BaseURL
0
5
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
6
* def DbUtils = Java.type('utils.DbUtils')
0
7
* def db = new DbUtils(config)
0
8
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
18
* def date = getDate2()
0
19
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
28
* def fundDueDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 7 ));
return sdf.format(dayAfter);
}
39
* def fundDueDate = fundDueDateFunc()
1
40
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
51
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
542
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
553
* def currentDate = fundDueDateFunc1(0)
1
554
* def expiryDate = fundDueDateFunc1(30)
1
555
Given path '/internalapi/api/licensing/new-permit/saveDecision'
0
556
And header authorization = 'Bearer ' + strToken
0
557
And header current-wfroleid = 5
0
558
* def payload = ""
0
559
* def payloadForFBDecisionReq = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":"FB Decision Required","value":6},"emailNotificationModel":{"applicant":{},"attorney":{},"communityBoard":{},"other":{}},"hasErrors":[],"licPermitTypeId":434,"taskId":1601,"newComments":"test","conditionalApproval":{"effectiveDate":'#(currentDate)',"expirationDate":'#(expiryDate)',"selectInput":{"fromFields":[{"id":1,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC’s dba name"},{"id":2,"label":"Provide a copy of the business certificate from the county clerk for your dba name"},{"id":3,"label":"Provide your federal tax identification number"},{"id":4,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department"},{"id":5,"label":"Provide an amended Certificate of Authority – the name must match the applicant name exactly."},{"id":6,"label":"Provide an amended Certificate of Authority – the address must match the premises address exactly"},{"id":7,"label":"Provide a signed Bond Rider amending____________"},{"id":8,"label":"Provide Worker’s Compensation and Disability Benefits insurance provider names and policy numbers"},{"id":9,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee"},{"id":10,"label":"Submit a copy of the Newspaper Affidavit(s)"},{"id":11,"label":"Provide your TTB permit"},{"id":12,"label":"Surrender of the current license in effect"},{"id":13,"label":"Other Condition"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Condition:","additionalComments":"","srclabel":"Select","dstlabel":"Add to Letter","additionalLabel":"Additional Conditions:"}}}
0
560
* def payloadForwithdraw = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":"Withdrawal","value":4},"emailNotificationModel":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"automation@test.com","appId":'#(appId)',"emailContactTypeId":0,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}},"hasErrors":[],"licPermitTypeId":'#(mainLicensePermitTypeId)',"taskId":1601,"newComments":"withdrawing the application"}
0
561
* def payloadWithReturnToExaminer = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":"Return to Examiner","value":7,"isChecked":null},"emailNotificationModel":{"applicant":{},"attorney":{},"communityBoard":{},"other":{}},"hasErrors":[],"licPermitTypeId":'#(mainLicensePermitTypeId)',"taskId":1601,"newComments":"returning to examiner queue for correct review"}
0
#* def payloadWithConditionalApprove = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":"Conditionally Approved","value":5},"emailNotificationModel":{"applicant":{"communicationId":106,"email":"automation@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":109,"email":"sbandi@svam.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}},"hasErrors":[],"licPermitTypeId":'#(mainLicensePermitTypeId)',"taskId":1601,"newComments":"","conditionalApproval":{"selectInput":{"fromFields":[{"id":2,"label":"Provide a copy of the business certificate from the county clerk for your dba name"},{"id":3,"label":"Provide your federal tax identification number"},{"id":4,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department"},{"id":5,"label":"Provide an amended Certificate of Authority – the name must match the applicant name exactly."},{"id":6,"label":"Provide an amended Certificate of Authority – the address must match the premises address exactly"},{"id":7,"label":"Provide a signed Bond Rider amending____________"},{"id":8,"label":"Provide Worker’s Compensation and Disability Benefits insurance provider names and policy numbers"},{"id":9,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee"},{"id":10,"label":"Submit a copy of the Newspaper Affidavit(s)"},{"id":11,"label":"Provide your TTB permit"},{"id":12,"label":"Surrender of the current license in effect"},{"id":13,"label":"Other Condition"}],"toFields":[{"id":1,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC’s dba name"}],"isRewritable":true,"rewriteLabel":"Edit Condition:","additionalComments":"","srclabel":"Select","dstlabel":"Add to Letter","additionalLabel":"Additional Conditions:"},"effectiveDate":'#(currentDate)',"expirationDate":'#(expiryDate)',"conditions":[1],"descriptions":["Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC’s dba name"]}}
564
* def payloadWithApproval = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"appId":'#(appId)',"applicationType":1,"applicationId":'#(applicationId)',"legalName":"Sep13_BrewerTasting_Annual_AQAMC","statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{"communicationId":6936,"email":"vdsouza@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":6938,"email":"vdsouza@svam.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}},"hasErrors":[],"licPermitTypeId":'#(mainLicensePermitTypeId)',"taskId":1601,"newComments":"","approval":{"isDefineStipulations":false,"effectiveDate":'#(currentDate)',"expirationDate":'#(expiryDate)'}}
1
565
* def payloadDisapprovalWithSingle = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":'#(appId)',"applicationType":1,"applicationId":'#(applicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":"Disapproved","value":2},"emailNotificationModel":{"applicant":{"communicationId":4095,"email":"vdsouza@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":4097,"email":"vdsouza@svam.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}},"hasErrors":[],"licPermitTypeId":'#(mainLicensePermitTypeId)',"taskId":1601,"newComments":"Disapproved the permit","disApproval":{"isDisapprovalForCause":true,"isDisapprovalLetterAttach":true,"selectInput":{"fromFields":[{"id":1,"label":"A temporary permit may not be considered for approval unless it is preceded or accompanied by an application for a permanent license."},{"id":2,"label":"A temporary permit for a New York City premises may not be considered for approval, unless a contract of sale is submitted with the application. No contract of sale was submitted for this transaction."},{"id":3,"label":"A liquidator’s permit may not be considered for approval when the application it is filed in conjunction with is disapproved."},{"id":4,"label":"A liquidator’s permit may not be approved when the seller of the alcohol is currently in arrears and on the Authority’s COD List. The seller will need to clear all accounts in arrears and re-apply."},{"id":6,"label":"Check number ____ in the amount of ________ , for payment in connection with this application was returned due to insufficient funds. A request for certified funds was sent to the applicant on _________, to which there was no reply."},{"id":7,"label":"Licensees are not eligible to change corporate entities using an endorsement/corporate change application. A licensee forming a new entity and using a new FEIN# must file a new application under the new corporate entity."},{"id":8,"label":"Endorsement applications may not be used to change an application from an executor of an estate to a corporation. A new application must be filed once the estate is settled."},{"id":9,"label":"Licensee is not eligible to file a removal under a new corporate entity. Licensee must file a new application for the new corporate entity with the new FEIN #."},{"id":10,"label":"The applicant submitted an outdated application form that is no longer accepted for processing as of 11/30/13."},{"id":11,"label":"Temporary retail permit was received with an outdated main application."},{"id":12,"label":"The corporate change filed under this serial number is a duplicate of a corporate change filed on _______________under _________________________________, serial number __________."}],"toFields":[{"id":5,"label":"An insufficient fee was submitted with the application. Total fee due was $___ and the total fee paid was $_____"}],"isRewritable":true,"rewriteLabel":"Edit Reason for Disapproval:","additionalComments":"Test","srclabel":"Select","dstlabel":"Add to Notification","additionalLabel":"Additional Reasons for Disapproval:"},"disapprovalReason":[5,-1],"descriptions":["An insufficient fee was submitted with the application. Total fee due was $___ and the total fee paid was $_____","Test"]}}
1
566
* def payloadDisapprovalUncheckbox = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":'#(appId)',"applicationType":1,"applicationId":'#(applicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":"Disapproved","value":2},"emailNotificationModel":{"applicant":{"communicationId":6567,"email":"automation@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":6570,"email":"sbandi@svam.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}},"hasErrors":[],"licPermitTypeId":'#(mainLicensePermitTypeId)',"taskId":1601,"newComments":"Disapproved the permit","approval":{"isDefineStipulations":false,"effectiveDate":'#(currentDate)',"expirationDate":'#(expiryDate)'},"disApproval":{"isDisapprovalForCause":false,"isDisapprovalLetterAttach":true,"selectInput":{"fromFields":[{"id":1,"label":"A temporary permit may not be considered for approval unless it is preceded or accompanied by an application for a permanent license."},{"id":2,"label":"A temporary permit for a New York City premises may not be considered for approval, unless a contract of sale is submitted with the application. No contract of sale was submitted for this transaction."},{"id":3,"label":"A liquidator’s permit may not be considered for approval when the application it is filed in conjunction with is disapproved."},{"id":4,"label":"A liquidator’s permit may not be approved when the seller of the alcohol is currently in arrears and on the Authority’s COD List. The seller will need to clear all accounts in arrears and re-apply."},{"id":6,"label":"Check number ____ in the amount of ________ , for payment in connection with this application was returned due to insufficient funds. A request for certified funds was sent to the applicant on _________, to which there was no reply."},{"id":7,"label":"Licensees are not eligible to change corporate entities using an endorsement/corporate change application. A licensee forming a new entity and using a new FEIN# must file a new application under the new corporate entity."},{"id":8,"label":"Endorsement applications may not be used to change an application from an executor of an estate to a corporation. A new application must be filed once the estate is settled."},{"id":9,"label":"Licensee is not eligible to file a removal under a new corporate entity. Licensee must file a new application for the new corporate entity with the new FEIN #."},{"id":10,"label":"The applicant submitted an outdated application form that is no longer accepted for processing as of 11/30/13."},{"id":11,"label":"Temporary retail permit was received with an outdated main application."},{"id":12,"label":"The corporate change filed under this serial number is a duplicate of a corporate change filed on _______________under _________________________________, serial number __________."}],"toFields":[{"id":5,"label":"An insufficient fee was submitted with the application. Total fee due was $___ and the total fee paid was $_____"}],"isRewritable":true,"rewriteLabel":"Edit Reason for Disapproval:","additionalComments":"Test Automation Disapproval","srclabel":"Select","dstlabel":"Add to Notification","additionalLabel":"Additional Reasons for Disapproval:"},"disapprovalReason":[5,-1],"descriptions":["An insufficient fee was submitted with the application. Total fee due was $___ and the total fee paid was $_____","Test Automation Disapproval"]}}
0
567
* def payloadmultiple = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{"communicationId":9854,"email":"automation@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}},"hasErrors":[],"licPermitTypeId":'#(mainLicensePermitTypeId)',"taskId":1151,"newComments":"","approval":{"isDefineStipulations":true,"selectInput":{"fromFields":[],"toFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"},{"id":40,"label":"ABC"}],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","additionalComments":"","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":'#(currentDate)',"expirationDate":'#(expiryDate)',"stipulations":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"descriptions":["Inside of premises closes at x","Side walk café closes at x","Backyard closes at x","Alcohol consumption inside stops at X","Alcohol consumption in backyard stops at x","Alcohol consumption on sidewalk café stops at x","No live music in inside of premises","No live music outside of premise","No DJs","No promoters","No Promoted events","Recorded music only","Music stops at X","Music outside stops at X","Only non-amplified music","Acoustic music only","No bar crawls","Close façade doors at certain time","Close Windows at a certain time","No boozy brunches","No unlimited drink","No happy Hours","No bottle service ","No dancing","No delivery bikes","No TVs","Licensed patio","Licensed sidewalk café","No outside areas","Security Guards required","X amount of security guards per x amount of patrons","# of security guards per patron","No VIP","No roped lines","No hookah","Doors closed at all times","Windows closed at all time","All agreed upon CB stipulations except","All employees must be TIPS trained","ABC"]}}
0
568
* def payloadDisapproveCounsel = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":"Disapproval to Counsel","value":3},"emailNotificationModel":{"applicant":{"communicationId":6508,"email":"automation@test.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}},"hasErrors":[],"licPermitTypeId":'#(mainLicensePermitTypeId)',"taskId":1601,"newComments":"","disApproval":{"isDisapprovalForCause":true,"isDisapprovalLetterAttach":true,"selectInput":{"fromFields":[{"id":1,"label":"A temporary permit may not be considered for approval unless it is preceded or accompanied by an application for a permanent license."},{"id":2,"label":"A temporary permit for a New York City premises may not be considered for approval, unless a contract of sale is submitted with the application. No contract of sale was submitted for this transaction."},{"id":3,"label":"A liquidator’s permit may not be considered for approval when the application it is filed in conjunction with is disapproved."},{"id":4,"label":"A liquidator’s permit may not be approved when the seller of the alcohol is currently in arrears and on the Authority’s COD List. The seller will need to clear all accounts in arrears and re-apply."},{"id":6,"label":"Check number ____ in the amount of ________ , for payment in connection with this application was returned due to insufficient funds. A request for certified funds was sent to the applicant on _________, to which there was no reply."},{"id":7,"label":"Licensees are not eligible to change corporate entities using an endorsement/corporate change application. A licensee forming a new entity and using a new FEIN# must file a new application under the new corporate entity."},{"id":8,"label":"Endorsement applications may not be used to change an application from an executor of an estate to a corporation. A new application must be filed once the estate is settled."},{"id":9,"label":"Licensee is not eligible to file a removal under a new corporate entity. Licensee must file a new application for the new corporate entity with the new FEIN #."},{"id":10,"label":"The applicant submitted an outdated application form that is no longer accepted for processing as of 11/30/13."},{"id":11,"label":"Temporary retail permit was received with an outdated main application."},{"id":12,"label":"The corporate change filed under this serial number is a duplicate of a corporate change filed on _______________under _________________________________, serial number __________."}],"toFields":[{"id":5,"label":"An insufficient fee was submitted with the application. Total fee due was $___ and the total fee paid was $_____"}],"isRewritable":true,"rewriteLabel":"Edit Reason for Disapproval:","additionalComments":"Disapproval to counsel Test","srclabel":"Select","dstlabel":"Add to Notification","additionalLabel":"Additional Reasons for Disapproval:"},"disapprovalReason":[5,-1],"descriptions":["An insufficient fee was submitted with the application. Total fee due was $___ and the total fee paid was $_____","Disapproval to counsel Test"]}}
0
570
* def payloadDisapproveCounsel1 = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":"Disapproval to Counsel","value":3},"emailNotificationModel":{"applicant":{"communicationId":6508,"email":"automation@test.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}},"hasErrors":[],"licPermitTypeId":'#(mainLicensePermitTypeId)',"taskId":1601,"newComments":"Test Automation for DisapprvalToCaousel","disApproval":{"isDisapprovalForCause":false,"isDisapprovalLetterAttach":true,"selectInput":{"fromFields":[{"id":1,"label":"A temporary permit may not be considered for approval unless it is preceded or accompanied by an application for a permanent license."},{"id":2,"label":"A temporary permit for a New York City premises may not be considered for approval, unless a contract of sale is submitted with the application. No contract of sale was submitted for this transaction."},{"id":3,"label":"A liquidator’s permit may not be considered for approval when the application it is filed in conjunction with is disapproved."},{"id":4,"label":"A liquidator’s permit may not be approved when the seller of the alcohol is currently in arrears and on the Authority’s COD List. The seller will need to clear all accounts in arrears and re-apply."},{"id":6,"label":"Check number ____ in the amount of ________ , for payment in connection with this application was returned due to insufficient funds. A request for certified funds was sent to the applicant on _________, to which there was no reply."},{"id":7,"label":"Licensees are not eligible to change corporate entities using an endorsement/corporate change application. A licensee forming a new entity and using a new FEIN# must file a new application under the new corporate entity."},{"id":8,"label":"Endorsement applications may not be used to change an application from an executor of an estate to a corporation. A new application must be filed once the estate is settled."},{"id":9,"label":"Licensee is not eligible to file a removal under a new corporate entity. Licensee must file a new application for the new corporate entity with the new FEIN #."},{"id":10,"label":"The applicant submitted an outdated application form that is no longer accepted for processing as of 11/30/13."},{"id":11,"label":"Temporary retail permit was received with an outdated main application."},{"id":12,"label":"The corporate change filed under this serial number is a duplicate of a corporate change filed on _______________under _________________________________, serial number __________."}],"toFields":[{"id":5,"label":"An insufficient fee was submitted with the application. Total fee due was $___ and the total fee paid was $_____"}],"isRewritable":true,"rewriteLabel":"Edit Reason for Disapproval:","additionalComments":"Disapproval to counsel Test","srclabel":"Select","dstlabel":"Add to Notification","additionalLabel":"Additional Reasons for Disapproval:"},"disapprovalReason":[5,-1],"descriptions":["An insufficient fee was submitted with the application. Total fee due was $___ and the total fee paid was $_____","Disapproval to counsel Test"]}}
0
572
* eval if (checboxDisapprovalCause == false && StipulationsCount == 1 && licStatus == 'Disapproved') payload = payloadDisapprovalUncheckbox
0
573
* eval if (StipulationsCount == 0 && licStatus == 'Withdrawal') payload = payloadForwithdraw
0
574
* eval if (StipulationsCount == 0 && licStatus == 'Approved') payload = payloadWithApproval
0
575
* eval if (StipulationsCount == 0 && licStatus == 'FB Decision Required') payload = payloadForFBDecisionReq
0
576
* eval if (checboxDisapprovalCause == true && StipulationsCount == 1 && licStatus == 'Disapproved') payload = payloadDisapprovalWithSingle
0
577
* eval if (StipulationsCount > 1 && licStatus == 'Disapproved') payload = payloadmultiple
0
578
* eval if (checboxDisapprovalCause == true && StipulationsCount == 1 && licStatus == 'Disapproval to Counsel') payload = payloadDisapproveCounsel
0
579
* eval if (checboxDisapprovalCause == false && StipulationsCount == 1 && licStatus == 'Disapproval to Counsel') payload = payloadDisapproveCounsel1
0
# * eval if (licStatus == 'Conditionally Approved') payload = payloadWithConditionalApprove
581
* eval if (licStatus == 'Return to Examiner') payload = payloadWithReturnToExaminer
0
582
And request payload
0
583
When method post
256
20:37:29.966 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/new-permit/saveDecision
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > current-wfroleid: 5
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 2454
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"appId":13997,"applicationType":1,"applicationId":"#(applicationId)","legalName":"Sep13_BrewerTasting_Annual_AQAMC","statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{"communicationId":6936,"email":"vdsouza@svam.com","appId":13997,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":6938,"email":"vdsouza@svam.com","appId":13997,"emailContactTypeId":2,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13997,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}},"hasErrors":[],"licPermitTypeId":422,"taskId":1601,"newComments":"","approval":{"isDefineStipulations":false,"effectiveDate":"2022-11-15","expirationDate":"2022-12-15"}}
20:37:30.221 response time in milliseconds: 255
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:30 GMT
1 < Content-Length: 4
true
584
Then status 200
0
585
And def serverResponse = response
0
# ********* GET License Id *********************
590
Given path '/internalapi/api/licensing/LBDecision/getLicenseByAppId/' + appId +'/-1'
0
591
And header authorization = 'Bearer ' + strToken
0
592
And request {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"masterFileData":[],"combinedCraftData":[],"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":null,"statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{},"attorney":{},"other":{"email":""}},"hasErrors":[],"taskId":1151,"newComments":"","approval":{"isDefineStipulations":false,"selectInput":{"fromFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":"2022-01-10","expirationDate":"2022-08-31","stipulations":[],"descriptions":[]}}
0
593
When method get
161
20:37:30.223 request:
2 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/LBDecision/getLicenseByAppId/13997/-1
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
2 > Content-Type: application/json; charset=UTF-8
2 > Content-Length: 2432
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"masterFileData":[],"combinedCraftData":[],"appId":13997,"applicationType":1,"applicationId":"NA-0566-22-19159","legalName":null,"statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{},"attorney":{},"other":{"email":""}},"hasErrors":[],"taskId":1151,"newComments":"","approval":{"isDefineStipulations":false,"selectInput":{"fromFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":"2022-01-10","expirationDate":"2022-08-31","stipulations":[],"descriptions":[]}}
20:37:30.382 response time in milliseconds: 159
2 < 200
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:07:30 GMT
2 < Content-Length: 2853
{"license":{"licId":1489,"applicationId":null,"licenseId":"0566-22-29140","licensePermitId":null,"licePermitTypeId":422,"appId":13997,"legacySerialNo":null,"issueDate":null,"expiryDate":"2025-10-31T00:00:00","effectiveDate":"2022-11-15T10:07:00","seasonalStartDate":null,"seasonalEndDate":null,"safeKeepingExpiryDate":null,"status":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"extTempPermitEnabled":false,"application":{"applicationCategory":null,"appId":null,"applicationId":null,"licePermitTypeId":null,"applicationTypeId":null,"formVersionId":null,"formId":null,"legalName":null,"submitDate":null,"isGISRequired":null,"licenseDescription":null,"recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":null,"priority":null,"expirationDate":null,"appStatusId":null,"taskStatus":null,"taskId":null,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":null,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":null,"memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":null,"isNotQualified":null,"eventDate":null,"appStatus":{"appStatusId":0,"statusDescription":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":null,"assignAppToLB":null,"licePermitType":null,"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":0,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"clericalName":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"isFairOrFestival":false,"isShowEffExpDateOnLBReview":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"options":null,"emailNotificationModel":null,"taskOptionsListNested":null,"days":0,"permit":null,"licPermitType":null,"licensePermitMapping":null,"licenseFee":null,"accountBalance":null,"licenseDescription":null,"isSeasonal":false,"isSummerSeasonal":false,"newExpiryDate":null,"amountDue":null,"originalLicenseFee":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"wfRoleId":0},"person":[],"totalRecord":0,"apps":[]}
594
Then status 200
0
595
And def serverResponse = response
0
597
And def licId = serverResponse.license.licId
0
598
And def licenseId = serverResponse.license.licenseId
0
600
And print 'licId : ' , licId
0
20:37:30.383 [print] licId : 1489
601
And print 'licenseId : ' , licenseId
0
20:37:30.383 [print] licenseId : 0566-22-29140
602
And match licId != []
0
603
And match licenseId != []
0
604
* def appendAppID = db.appendStrToFile('PermitAPPIds.csv' , ('\n'+appId+','+licenseId))
8
322
* call read('LicensesCommonMethods.feature@ValidateLicenseApplicationStatus') {LicAppStatus:'Approved'}
730
>>
karate.UseCases.LicensesCommonMethods
146
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1326
Given path 'internalapi/api/GenericSearch/SearchLicense'
0
1327
And header Content-Type = 'application/json; charset=utf-8'
0
1328
And header Accept = 'application/json; text/plain;*/*'
0
1329
And header authorization = 'Bearer ' + strToken
0
1330
And params {page:1,pageSize:10}
0
1331
And request [{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":'#(ApplicationId)'}]
0
1332
When method post
142
20:37:30.974 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/GenericSearch/SearchLicense?pageSize=10&page=1
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Length: 95
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":"NA-0566-22-19159"}]
20:37:31.115 response time in milliseconds: 141
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:30 GMT
1 < Content-Length: 684
{"data":[{"acaId":13997,"acaType":"application","applicationLicenseId":"0566-22-29140","legacySerialNo":null,"legalName":"Automation20221115203719Automation","dba":null,"licenseDescription":"Industrial alcohol","expirationDate":"2022-12-15T00:00:00","examinerAssigned":"Tarun Gupta","premisesAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","applicantAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","feinSsn":"","formId":1110,"applicationId":"NA-0566-22-19159","licenseId":"0566-22-29140","wfRoleId":2,"applicationStatus":"Approved","licenseStatus":"Active"}],"total":1,"aggregateResults":null,"errors":null}
1333
Then status 200
0
1334
And print response
0
20:37:31.116 [print] {
"data": [
{
"acaId": 13997,
"acaType": "application",
"applicationLicenseId": "0566-22-29140",
"legacySerialNo": null,
"legalName": "Automation20221115203719Automation",
"dba": null,
"licenseDescription": "Industrial alcohol",
"expirationDate": "2022-12-15T00:00:00",
"examinerAssigned": "Tarun Gupta",
"premisesAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"applicantAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"feinSsn": "",
"formId": 1110,
"applicationId": "NA-0566-22-19159",
"licenseId": "0566-22-29140",
"wfRoleId": 2,
"applicationStatus": "Approved",
"licenseStatus": "Active"
}
],
"total": 1,
"aggregateResults": null,
"errors": null
}
1335
* match response.data[0].applicationStatus == '#(LicAppStatus)'
1
328
* call read('LicensesCommonMethods.feature@GetLicenseId') {}
577
>>
karate.UseCases.LicensesCommonMethods
145
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
3212
Given path '/internalapi/api/licensing/LBDecision/getLicenseByAppId/' + appId +'/-1'
0
3213
And header authorization = 'Bearer ' + strToken
0
3214
* def EffectiveDate = EffDate()
0
3215
And request {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"masterFileData":[],"combinedCraftData":[],"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":null,"statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{},"attorney":{},"other":{"email":""}},"hasErrors":[],"taskId":1151,"newComments":"","approval":{"isDefineStipulations":false,"selectInput":{"fromFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":'#(EffectiveDate)',"expirationDate":'#(expiryDate)',"stipulations":[],"descriptions":[]}}
0
3216
When method get
142
20:37:31.553 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/LBDecision/getLicenseByAppId/13997/-1
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 2432
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"masterFileData":[],"combinedCraftData":[],"appId":13997,"applicationType":1,"applicationId":"NA-0566-22-19159","legalName":null,"statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{},"attorney":{},"other":{"email":""}},"hasErrors":[],"taskId":1151,"newComments":"","approval":{"isDefineStipulations":false,"selectInput":{"fromFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":"2022-11-15","expirationDate":"2022-12-15","stipulations":[],"descriptions":[]}}
20:37:31.694 response time in milliseconds: 141
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:31 GMT
1 < Content-Length: 2853
{"license":{"licId":1489,"applicationId":null,"licenseId":"0566-22-29140","licensePermitId":null,"licePermitTypeId":422,"appId":13997,"legacySerialNo":null,"issueDate":null,"expiryDate":"2025-10-31T00:00:00","effectiveDate":"2022-11-15T10:07:00","seasonalStartDate":null,"seasonalEndDate":null,"safeKeepingExpiryDate":null,"status":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"extTempPermitEnabled":false,"application":{"applicationCategory":null,"appId":null,"applicationId":null,"licePermitTypeId":null,"applicationTypeId":null,"formVersionId":null,"formId":null,"legalName":null,"submitDate":null,"isGISRequired":null,"licenseDescription":null,"recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":null,"priority":null,"expirationDate":null,"appStatusId":null,"taskStatus":null,"taskId":null,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":null,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":null,"memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":null,"isNotQualified":null,"eventDate":null,"appStatus":{"appStatusId":0,"statusDescription":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":null,"assignAppToLB":null,"licePermitType":null,"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":0,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"clericalName":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"isFairOrFestival":false,"isShowEffExpDateOnLBReview":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"options":null,"emailNotificationModel":null,"taskOptionsListNested":null,"days":0,"permit":null,"licPermitType":null,"licensePermitMapping":null,"licenseFee":null,"accountBalance":null,"licenseDescription":null,"isSeasonal":false,"isSummerSeasonal":false,"newExpiryDate":null,"amountDue":null,"originalLicenseFee":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"wfRoleId":0},"person":[],"totalRecord":0,"apps":[]}
3217
Then status 200
0
3218
And def serverResponse = response
0
3219
And print serverResponse
0
20:37:31.695 [print] {
"license": {
"licId": 1489,
"applicationId": null,
"licenseId": "0566-22-29140",
"licensePermitId": null,
"licePermitTypeId": 422,
"appId": 13997,
"legacySerialNo": null,
"issueDate": null,
"expiryDate": "2025-10-31T00:00:00",
"effectiveDate": "2022-11-15T10:07:00",
"seasonalStartDate": null,
"seasonalEndDate": null,
"safeKeepingExpiryDate": null,
"status": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null,
"extTempPermitEnabled": false,
"application": {
"applicationCategory": null,
"appId": null,
"applicationId": null,
"licePermitTypeId": null,
"applicationTypeId": null,
"formVersionId": null,
"formId": null,
"legalName": null,
"submitDate": null,
"isGISRequired": null,
"licenseDescription": null,
"recommendedDecisionId": null,
"status500": null,
"isApplicableForPDLetter": false,
"countyName": null,
"priority": null,
"expirationDate": null,
"appStatusId": null,
"taskStatus": null,
"taskId": null,
"currentWfstatus": null,
"communityBoard": null,
"isLicenseApplication": null,
"currentDueDate": null,
"isFinalDeficiency": null,
"isHighlyDeficient": null,
"isAllDeficienciesMet": null,
"pastDueDate": null,
"memo": null,
"isOneTimePermit": null,
"dueDateAction": null,
"isDisapprovedForCause": null,
"isNotQualified": null,
"eventDate": null,
"appStatus": {
"appStatusId": 0,
"statusDescription": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null
},
"applicationType": null,
"assignAppExaminer": null,
"assignAppToLB": null,
"licePermitType": null,
"assoApplicationList": [
],
"isTempPermit": null,
"isTempOrLiq": false,
"licPermitTypeId": 0,
"isAssociatedLicense": null,
"effectiveDate": null,
"assignedUserId": null,
"amendmentTypeId": null,
"amendmentType": null,
"disapprovedDate": null,
"condApprovedDate": null,
"addressId": null,
"isCaseOpen": null,
"isClosed": null,
"isCaseOpenSameAddress": null,
"isSpecialEventPlusFour": null,
"isSpecialEventInsideFiveBoroughs": null,
"licStatus": null,
"createdBy": null,
"clericalName": null,
"licenseId": null,
"address": null,
"isNybeApp": false,
"isHearingCompleted": null,
"does500FtHearingExist": null,
"parentAppStatus": null,
"premisesAppCount": 0,
"statusDescription": null,
"eventAddress": null,
"isFairOrFestival": false,
"isShowEffExpDateOnLBReview": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
"options": null,
"emailNotificationModel": null,
"taskOptionsListNested": null,
"days": 0,
"permit": null,
"licPermitType": null,
"licensePermitMapping": null,
"licenseFee": null,
"accountBalance": null,
"licenseDescription": null,
"isSeasonal": false,
"isSummerSeasonal": false,
"newExpiryDate": null,
"amountDue": null,
"originalLicenseFee": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"wfRoleId": 0
},
"person": [
],
"totalRecord": 0,
"apps": [
]
}
3220
And def licId = serverResponse.license.licId
0
3221
And def licenseId = serverResponse.license.licenseId
0
3222
And def ActEffDate = serverResponse.license.seasonalStartDate
0
3223
And def ActExpDate = serverResponse.license.expiryDate
0
3224
And print serverResponse
0
20:37:31.696 [print] {
"license": {
"licId": 1489,
"applicationId": null,
"licenseId": "0566-22-29140",
"licensePermitId": null,
"licePermitTypeId": 422,
"appId": 13997,
"legacySerialNo": null,
"issueDate": null,
"expiryDate": "2025-10-31T00:00:00",
"effectiveDate": "2022-11-15T10:07:00",
"seasonalStartDate": null,
"seasonalEndDate": null,
"safeKeepingExpiryDate": null,
"status": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null,
"extTempPermitEnabled": false,
"application": {
"applicationCategory": null,
"appId": null,
"applicationId": null,
"licePermitTypeId": null,
"applicationTypeId": null,
"formVersionId": null,
"formId": null,
"legalName": null,
"submitDate": null,
"isGISRequired": null,
"licenseDescription": null,
"recommendedDecisionId": null,
"status500": null,
"isApplicableForPDLetter": false,
"countyName": null,
"priority": null,
"expirationDate": null,
"appStatusId": null,
"taskStatus": null,
"taskId": null,
"currentWfstatus": null,
"communityBoard": null,
"isLicenseApplication": null,
"currentDueDate": null,
"isFinalDeficiency": null,
"isHighlyDeficient": null,
"isAllDeficienciesMet": null,
"pastDueDate": null,
"memo": null,
"isOneTimePermit": null,
"dueDateAction": null,
"isDisapprovedForCause": null,
"isNotQualified": null,
"eventDate": null,
"appStatus": {
"appStatusId": 0,
"statusDescription": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null
},
"applicationType": null,
"assignAppExaminer": null,
"assignAppToLB": null,
"licePermitType": null,
"assoApplicationList": [
],
"isTempPermit": null,
"isTempOrLiq": false,
"licPermitTypeId": 0,
"isAssociatedLicense": null,
"effectiveDate": null,
"assignedUserId": null,
"amendmentTypeId": null,
"amendmentType": null,
"disapprovedDate": null,
"condApprovedDate": null,
"addressId": null,
"isCaseOpen": null,
"isClosed": null,
"isCaseOpenSameAddress": null,
"isSpecialEventPlusFour": null,
"isSpecialEventInsideFiveBoroughs": null,
"licStatus": null,
"createdBy": null,
"clericalName": null,
"licenseId": null,
"address": null,
"isNybeApp": false,
"isHearingCompleted": null,
"does500FtHearingExist": null,
"parentAppStatus": null,
"premisesAppCount": 0,
"statusDescription": null,
"eventAddress": null,
"isFairOrFestival": false,
"isShowEffExpDateOnLBReview": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
"options": null,
"emailNotificationModel": null,
"taskOptionsListNested": null,
"days": 0,
"permit": null,
"licPermitType": null,
"licensePermitMapping": null,
"licenseFee": null,
"accountBalance": null,
"licenseDescription": null,
"isSeasonal": false,
"isSummerSeasonal": false,
"newExpiryDate": null,
"amountDue": null,
"originalLicenseFee": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"wfRoleId": 0
},
"person": [
],
"totalRecord": 0,
"apps": [
]
}
3225
And print 'licId : ' , licId
0
20:37:31.696 [print] licId : 1489
3226
And print 'licenseId : ' , licenseId
0
20:37:31.696 [print] licenseId : 0566-22-29140
3227
And match licId != []
0
3228
And match licenseId != []
0
329
And print licenseId
0
20:37:31.700 [print] 0566-22-29140
330
* def notQualifiedApplication = false
0
331
* def notQlfdAppMessage = ''
0
332
* call read('RenewalCommonMethods.feature@IntakeRenewalLicense') {}
1694
>>
karate.UseCases.RenewalCommonMethods
1490
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def date = getDate2()
0
17
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
26
* def effectiveDate = effectiveDateFunc()
0
30
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
39
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
50
* def fundDueDate = fundDueDateFunc(7)
1
53
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
64
* def conditionDefinedDateFunction =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.00");
var date = new java.util.Date();
return sdf.format(date);
}
75
* def conditionDefinedDate = conditionDefinedDateFunction()
0
76
* def conditionDefinedDateFunctionwithAddedDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var date = new java.util.Date();
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
88
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
99
* def getRenewalReviewFunc =
0
function(reviewType){
if (reviewType == 'Send to Licensing Board'){
return 2;
}
else if (reviewType == 'Send to Full Board Preview Team'){
return 3;
}
else if (reviewType == 'Define Deficiencies'){
return 1;
}
}
169
Given path '/internalapi/api/licensing/search/searchLicensesAndPermits/'
0
170
And header Content-Type = 'application/json; charset=utf-8'
0
172
And header Accept = 'application/json; text/plain;*/*'
0
173
And header authorization = 'Bearer ' + strToken
0
176
And request {"WfTaskIdList":[],"LicenseStatusList":[19,45,40],"ShowLicensesAndPermits":true,"Status":null,"isTempPermit":null,"ApplicationId":null,"LicensePermitId":'#(licenseId)',"LegalName":null,"FEIN":null,"applyFor":""}
0
177
When method POST
178
20:37:31.897 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/search/searchLicensesAndPermits
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Length: 212
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"WfTaskIdList":[],"LicenseStatusList":[19,45,40],"ShowLicensesAndPermits":true,"Status":null,"isTempPermit":null,"ApplicationId":null,"LicensePermitId":"0566-22-29140","LegalName":null,"FEIN":null,"applyFor":""}
20:37:32.073 response time in milliseconds: 176
1 < 200
1 < Content-Length: 1294
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:31 GMT
{"licenses":[{"lpId":1489,"licensePermitId":"0566-22-29140","licPermitTypeId":422,"isAccociatedLicense":false,"appId":13997,"mainAppId":13997,"status":"Active","legacySerialNo":null,"isLicense":null,"isPermit":true,"issueDate":"2022-11-15T00:00:00","expiryDate":"2022-12-15T00:00:00","effectiveDate":"2022-11-15T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-11-15T10:07:30.113","modifiedDate":null,"submitDate":"2022-11-15T10:07:24.38","description":"Industrial alcohol","county":"New York","legalName":"Automation20221115203719Automation","fein":"","formId":1110,"isRenewalRequird":true,"dba":null,"associatePermits":[],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":null,"county":"New York","zipCode":"12345","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null}],"totalRecord":1}
178
Then status 200
0
179
* def licPermitTypeId = response.licenses[0].licPermitTypeId
0
180
* def lpId = response.licenses[0].lpId
0
181
* def effectiveDate = response.licenses[0].effectiveDate
0
182
* def expiryDate = response.licenses[0].expiryDate
0
183
* def legalName = response.licenses[0].legalName
0
184
* def licAppId = response.licenses[0].appId
0
185
* def submitDate = response.licenses[0].submitDate
0
186
* call read('LicensesCommonMethods.feature@GetCountyList') {}
888
>>
karate.UseCases.LicensesCommonMethods
367
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
117
Given path '/internalapi/api/reference'
0
118
* def dbSts = db.cleanHeap()
227
119
And header authorization = 'Bearer ' + strToken
0
120
And header Content-Type = 'application/json;charset=utf-8'
0
121
And header Accept = 'text/plain'
0
# * def query = {name:countyzone&onlyActives:true}
123
And params {name:countyzone,onlyActives:true}
0
#And param onlyActives='true'
125
And request {}
0
126
When method get
137
20:37:32.815 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/reference?name=countyzone&onlyActives=true
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Type: application/json;charset=utf-8
1 > Accept: text/plain
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:37:32.950 response time in milliseconds: 135
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:32 GMT
1 < Content-Length: 11712
{"values":[{"CountyId":1,"County":"New York","ShortName":"NEW","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T00:00:00","ModifiedBy":"esandoval","ModifiedDate":"2020-11-10T11:30:56.047"},{"CountyId":2,"County":"Kings","ShortName":"KING","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":3,"County":"Bronx","ShortName":"BRON","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":4,"County":"Queens","ShortName":"QUEE","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":5,"County":"Richmond","ShortName":"RICH","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":6,"County":"Nassau","ShortName":"NASS","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":7,"County":"Suffolk","ShortName":"SUFF","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":8,"County":"Westchester","ShortName":"WEST","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":9,"County":"Orange","ShortName":"ORAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":10,"County":"Putnam","ShortName":"PUTN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":11,"County":"Rockland","ShortName":"ROCK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":12,"County":"Albany","ShortName":"ALBA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":13,"County":"Clinton","ShortName":"CLIN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":14,"County":"Columbia","ShortName":"COLU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":15,"County":"Dutchess","ShortName":"DUTC","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":16,"County":"Essex","ShortName":"ESSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":17,"County":"Franklin","ShortName":"FRAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":18,"County":"Fulton","ShortName":"FULT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":19,"County":"Greene","ShortName":"GREE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":20,"County":"Hamilton","ShortName":"HAMI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":21,"County":"Montgomery","ShortName":"MONT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":22,"County":"Rensselaer","ShortName":"RENS","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":23,"County":"Saratoga","ShortName":"SARA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":24,"County":"Schenectady","ShortName":"SCHE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":25,"County":"Schoharie","ShortName":"SCHO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":26,"County":"Sullivan","ShortName":"SULL","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":27,"County":"Ulster","ShortName":"ULST","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":28,"County":"Warren","ShortName":"WARR","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":29,"County":"Washington","ShortName":"WASH","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":30,"County":"Allegany","ShortName":"ALLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":31,"County":"Cattaraugus","ShortName":"CATT","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":32,"County":"Chautauqua","ShortName":"CHAU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":33,"County":"Chemung","ShortName":"CHEM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":34,"County":"Erie","ShortName":"ERIE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":35,"County":"Genesee","ShortName":"GENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":36,"County":"Livingston","ShortName":"LIVI","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":37,"County":"Monroe","ShortName":"MONR","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":38,"County":"Niagara","ShortName":"NIAG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":39,"County":"Ontario","ShortName":"ONTA","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":40,"County":"Orleans","ShortName":"ORLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":41,"County":"Schuyler","ShortName":"SCHU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":42,"County":"Seneca","ShortName":"SENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":43,"County":"Steuben","ShortName":"STEU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":44,"County":"Wayne","ShortName":"WAYN","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":45,"County":"Wyoming","ShortName":"WYOM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":46,"County":"Yates","ShortName":"YATE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":47,"County":"Broome","ShortName":"BROO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":48,"County":"Chenango","ShortName":"CHEN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":49,"County":"Cortland","ShortName":"CORT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":50,"County":"Delaware","ShortName":"DELA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":51,"County":"Herkimer","ShortName":"HERK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":52,"County":"Jefferson","ShortName":"JEFF","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":53,"County":"Lewis","ShortName":"LEWI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":54,"County":"Madison","ShortName":"MADI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":55,"County":"Oneida","ShortName":"ONEI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":56,"County":"Onondaga","ShortName":"ONON","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":57,"County":"Oswego","ShortName":"OSWE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":58,"County":"Otsego","ShortName":"OTSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":59,"County":"St. Lawrence","ShortName":"ST L","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":60,"County":"Cayuga","ShortName":"CAYU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":61,"County":"Tioga","ShortName":"TIOG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":62,"County":"Tompkins","ShortName":"TOMP","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.6","ModifiedBy":null,"ModifiedDate":null}],"name":"countyzone","schema":[{"columnName":"CountyId","dataType":"int","maxLenght":null,"isRequired":true},{"columnName":"County","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ShortName","dataType":"nvarchar","maxLenght":10,"isRequired":false},{"columnName":"ZoneNo","dataType":"int","maxLenght":null,"isRequired":false},{"columnName":"IsActive","dataType":"bit","maxLenght":null,"isRequired":false},{"columnName":"CreatedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"CreatedDate","dataType":"datetime","maxLenght":null,"isRequired":false},{"columnName":"ModifiedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ModifiedDate","dataType":"datetime","maxLenght":null,"isRequired":false}]}
127
* configure continueOnStepFailure = true
0
128
Then status 200
0
129
And def values = response.values
0
130
* configure continueOnStepFailure = true
0
187
* def countyData = karate.jsonPath(values, "$[?(@.CountyId == '" + CountyId + "')]")
1
188
* def countyZone = countyData[0].ZoneNo
0
189
And print countyZone
0
20:37:32.963 [print] 2
190
Given path '/internalapi/api/licensing/renewal/save'
0
191
* def dbSts = db.cleanHeap()
268
192
And header authorization = 'Bearer ' + strToken
0
193
And header Content-Type = 'application/json; charset=utf-8'
0
194
And header Accept = 'application/json; text/plain;*/*'
0
195
And configure continueOnStepFailure = true
0
196
And request {"mainLicenseId":'#(licenseId)',"associated":[],"notQualifiedApplication":'#(notQualifiedApplication)',"NotQualifiedComments":'#(notQlfdAppMessage)'}
0
197
When method Post
148
20:37:33.234 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/renewal/save
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > Content-Length: 107
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"mainLicenseId":"0566-22-29140","associated":[],"notQualifiedApplication":false,"NotQualifiedComments":""}
20:37:33.380 response time in milliseconds: 146
2 < 200
2 < Content-Length: 173
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:07:32 GMT
[{"appId":13998,"formId":1206,"childAppId":null,"mainApplicationId":"RE-22-06379-01","childApplicationId":null,"licensePermitTypeId":422,"description":"Industrial alcohol"}]
198
* configure continueOnStepFailure = true
0
199
Then status 200
0
200
* def description = response[0].description
0
201
* def appId = response[0].appId
0
202
* def formId = response[0].formId
0
203
* def ApplicationId = response[0].mainApplicationId
0
204
And print ApplicationId
0
20:37:33.382 [print] RE-22-06379-01
205
And match ApplicationId contains 'RE-'
0
207
* def currentYear = '-'+getYearFunc()+'-'
1
208
And match ApplicationId contains currentYear
0
333
* call read('LicensesCommonMethods.feature@FillAndSaveApplicantInformationPage') {}
828
>>
karate.UseCases.LicensesCommonMethods
188
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
700
* def getDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
709
Given path '/internalapi/api/licensing/app/static/applicantinfo/save/'+appId
0
710
And header Content-Type = 'application/json; charset=utf-8'
0
712
* def autoFirstName = firstName + getDate()
0
713
* def legalName = autoFirstName + lastName
0
714
And header Accept = 'application/json; text/plain;*/*'
0
715
And header authorization = 'Bearer ' + strToken
0
716
And request {"businessInfo":{"website":null,"businessEntity":{"individualOrganization":'#(indOrgCode)',"corporateStructure":'#(CorporateStructureDropDownCode)',"firstName":'#(autoFirstName)',"lastName":'#(lastName)',"middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":'#(legalName)',"id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":'#(IndOrgSelectionDropDown)',"corporateStructureText":'#(CorporateStructureDropDown)',"isIndividual":'#(isIndStatus)'},"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"2","phoneTypeText":"Office","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
0
717
When method post
184
20:37:34.035 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/applicantinfo/save/13998
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Length: 2167
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"businessInfo":{"website":null,"businessEntity":{"individualOrganization":1,"corporateStructure":1,"firstName":"Automation20221115203734","lastName":"Automation","middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":"Automation20221115203734Automation","id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":"Individual","corporateStructureText":"Individual","isIndividual":true},"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"2","phoneTypeText":"Office","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
20:37:34.218 response time in milliseconds: 183
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:34 GMT
1 < Content-Length: 2187
{"businessInfo":{"id":0,"website":null,"isLicensed":true,"isAssociated":false,"businessEntity":{"id":0,"individualOrganization":"1","corporateStructure":1,"isEmployeeForSoleProprietor":null,"firstName":"Automation20221115203734","lastName":"Automation","middleName":null,"ssn":"","fein":"","legalName":"Automation20221115203734Automation","suffix":"1","corporateStructureText":"Individual","individualOrganizationText":"Individual","isIndividual":true},"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":0,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":0,"phoneType":3,"countryCode":"+91","phone":"999-999-9999","phoneExtension":"1234"}]}},"premisesInfo":{"id":0,"dba":null,"countyId":0,"countyName":null,"isDbaSearched":null,"isPremisesRequired":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":0,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":0,"phoneType":2,"countryCode":"+91","phone":"999-999-9999","phoneExtension":"1234"}]}},"applicantDetail":{"id":0,"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"isPhysicalChange":null,"applicantStatement":{"id":0,"nameOfApplicant":null,"title":null,"signature":null,"date":null}}}
718
Then status 200
0
334
* call read('RenewalCommonMethods.feature@SaveAssociatedPrincipal') {}
521
>>
karate.UseCases.RenewalCommonMethods
326
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def date = getDate2()
0
17
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
26
* def effectiveDate = effectiveDateFunc()
0
30
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
39
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
50
* def fundDueDate = fundDueDateFunc(7)
1
53
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
64
* def conditionDefinedDateFunction =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.00");
var date = new java.util.Date();
return sdf.format(date);
}
75
* def conditionDefinedDate = conditionDefinedDateFunction()
0
76
* def conditionDefinedDateFunctionwithAddedDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var date = new java.util.Date();
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
88
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
99
* def getRenewalReviewFunc =
0
function(reviewType){
if (reviewType == 'Send to Licensing Board'){
return 2;
}
else if (reviewType == 'Send to Full Board Preview Team'){
return 3;
}
else if (reviewType == 'Define Deficiencies'){
return 1;
}
}
464
Given path '/internalapi/api/licensing/app/static/principal/'+appId
0
466
And header Content-Type = 'application/json; charset=utf-8'
0
467
And header Accept = 'application/json; text/plain;*/*'
0
468
And header authorization = 'Bearer ' + strToken
0
469
And request {}
0
470
When method get
162
20:37:34.414 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/principal/13998
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:37:34.575 response time in milliseconds: 161
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:34 GMT
1 < Content-Length: 1388
{"entities":[],"principals":[{"principalId":3320,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":true,"isFingerprintsApproved":true,"percentageOfOwners":20.0,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","entities":null,"numberOfShares":"","isSignature":false,"isRemove":false,"date":"2022-11-15T00:00:00","convictedOfCrime":"1","title":"15","isLicensed":true,"isAssociated":true,"person":{"personId":5637,"firstName":"Automation20221115203719","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T00:00:00","serialNo":0,"age":0,"choosedEntity":[]},"address":{"addressId":29480,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25388,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}}]}
471
Then status 200
0
472
* def personResponse = response
0
473
* def principalId = personResponse.principals[0].principalId
0
474
* def personId = personResponse.principals[0].person.personId
0
475
* def licFirstName = personResponse.principals[0].person.firstName
0
476
* def licLastName = personResponse.principals[0].person.lastName
0
477
* def licCommID = personResponse.principals[0].communication.id
0
478
* def licEmailID = personResponse.principals[0].communication.email
0
479
* def licAddressId = personResponse.principals[0].address.addressId
0
480
Given path '/internalapi/api/licensing/app/static/principal/save/'+appId
0
482
And header Content-Type = 'application/json; charset=utf-8'
0
483
* def getDate1 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
492
* def prncipalName = 'AutoRenewal'+getDate1()
1
494
And header Accept = 'application/json; text/plain;*/*'
0
495
And header authorization = 'Bearer ' + strToken
0
498
And request {"entities":[],"principals":[{"principalId":'#(principalId)',"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":null,"isFingerprintsApproved":null,"percentageOfOwners":null,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":true,\"isNewPrincipal\":false}","entities":null,"numberOfShares":"","isSignature":null,"isRemove":false,"date":null,"convictedOfCrime":"","title":"","isLicensed":null,"isAssociated":null,"person":{"personId":'#(personId)',"firstName":'#(licFirstName)',"middleName":"","lastName":'#(licLastName)',"suffix":"","socialSecurityNo":"","birthDate":null,"serialNo":0,"age":null,"choosedEntity":null},"address":{"addressId":'#(licAddressId)',"appId":null,"addressLine1":"","addressLine2":"","city":"","stateId":40,"county":"","zipCode":"","zip4":"","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":'#(licCommID)',"email":'#(licEmailID)',"confirmEmail":'#(licEmailID)',"phones":[]}},{"principalId":0,"convictedOfCrime":"","percentageOfOwners":"","isFingerprintRequired":"","isFingerprintsApproved":"","title":"","numberOfShares":"","isSignature":"","date":"","address":{"addressLine1":"Test Address1","addressLine2":"","stateId":40,"county":"New York","city":"New York","zipCode":"12345","zip4":"1234","country":"United States (US)","stateName":"New York","countryId":229,"zip":"12345"},"person":{"personId":0,"firstName":"Automation","middleName":"","lastName":"Renewal LicPermit","suffix":"","socialSecurityNo":"","birthDate":"","age":"","choosedEntity":null,"ssnFormat":""},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":'#(licEmailID)',"confirmEmail":'#(licEmailID)'},"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
0
499
When method post
161
20:37:34.578 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/principal/save/13998
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
2 > Content-Length: 2220
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"entities":[],"principals":[{"principalId":3320,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":null,"isFingerprintsApproved":null,"percentageOfOwners":null,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":true,\"isNewPrincipal\":false}","entities":null,"numberOfShares":"","isSignature":null,"isRemove":false,"date":null,"convictedOfCrime":"","title":"","isLicensed":null,"isAssociated":null,"person":{"personId":5637,"firstName":"Automation20221115203719","middleName":"","lastName":"AutoLastName","suffix":"","socialSecurityNo":"","birthDate":null,"serialNo":0,"age":null,"choosedEntity":null},"address":{"addressId":29480,"appId":null,"addressLine1":"","addressLine2":"","city":"","stateId":40,"county":"","zipCode":"","zip4":"","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25388,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}},{"principalId":0,"convictedOfCrime":"","percentageOfOwners":"","isFingerprintRequired":"","isFingerprintsApproved":"","title":"","numberOfShares":"","isSignature":"","date":"","address":{"addressLine1":"Test Address1","addressLine2":"","stateId":40,"county":"New York","city":"New York","zipCode":"12345","zip4":"1234","country":"United States (US)","stateName":"New York","countryId":229,"zip":"12345"},"person":{"personId":0,"firstName":"Automation","middleName":"","lastName":"Renewal LicPermit","suffix":"","socialSecurityNo":"","birthDate":"","age":"","choosedEntity":null,"ssnFormat":""},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":"automation@svam.com","confirmEmail":"automation@svam.com"},"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
20:37:34.738 response time in milliseconds: 160
2 < 200
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:07:34 GMT
2 < Content-Length: 2326
{"entities":[],"principals":[{"principalId":3320,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":null,"isFingerprintsApproved":null,"percentageOfOwners":null,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":null,"entities":null,"numberOfShares":"","isSignature":null,"isRemove":false,"date":null,"convictedOfCrime":"","title":"","isLicensed":null,"isAssociated":null,"person":{"personId":5637,"firstName":"Automation20221115203719","middleName":"","lastName":"AutoLastName","suffix":"","socialSecurityNo":"","birthDate":null,"serialNo":0,"age":null,"choosedEntity":[]},"address":{"addressId":29480,"appId":null,"addressLine1":"","addressLine2":"","city":"","stateId":40,"county":"","zipCode":"","zip4":"","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25388,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}},{"principalId":3321,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":null,"isFingerprintsApproved":null,"percentageOfOwners":null,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":null,"entities":null,"numberOfShares":"","isSignature":null,"isRemove":false,"date":null,"convictedOfCrime":"","title":"","isLicensed":null,"isAssociated":null,"person":{"personId":0,"firstName":"Automation","middleName":"","lastName":"Renewal LicPermit","suffix":"","socialSecurityNo":"","birthDate":null,"serialNo":0,"age":null,"choosedEntity":[]},"address":{"addressId":0,"appId":null,"addressLine1":"Test Address1","addressLine2":"","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":0,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}}]}
500
Then status 200
0
335
* call read('RenewalCommonMethods.feature@RenewalLicFillingFee') {amount:40000}
1970
>>
karate.UseCases.RenewalCommonMethods
1750
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def date = getDate2()
0
17
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
26
* def effectiveDate = effectiveDateFunc()
0
30
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
39
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
50
* def fundDueDate = fundDueDateFunc(7)
1
53
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
64
* def conditionDefinedDateFunction =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.00");
var date = new java.util.Date();
return sdf.format(date);
}
75
* def conditionDefinedDate = conditionDefinedDateFunction()
0
76
* def conditionDefinedDateFunctionwithAddedDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var date = new java.util.Date();
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
88
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
99
* def getRenewalReviewFunc =
0
function(reviewType){
if (reviewType == 'Send to Licensing Board'){
return 2;
}
else if (reviewType == 'Send to Full Board Preview Team'){
return 3;
}
else if (reviewType == 'Define Deficiencies'){
return 1;
}
}
673
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
674
* def totalFees = licenseFees + fillingFees
0
675
And print totalFees
0
20:37:34.957 [print] 212.0
676
And header Content-Type = 'application/json; charset=utf-8'
0
677
And header Accept = 'application/json; text/plain;*/*'
0
678
And header authorization = 'Bearer ' + strToken
0
679
And request {}
0
680
When method get
252
20:37:34.958 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/13998
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:37:35.209 response time in milliseconds: 251
1 < 200
1 < Content-Length: 653
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:35 GMT
[{"licenseName":"Industrial alcohol","applicationId":"RE-22-06379-01","applicationTypeId":2,"appFeesId":0,"appId":13998,"feesRefId":7170,"initialFees":0.0,"licensingFees":192.00,"amendmentFees":0.0,"renewalFees":30.00,"totalFees":0.0,"filingFees":0.0,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
681
Then status 200
0
682
And def serverResponse = response
0
683
* def licTerm = serverResponse[0].term
0
684
* def licFees = serverResponse[0].licensingFees+''
0
685
* def licTermDesc = serverResponse[0].termDesc
0
686
* def licFeesRefId = serverResponse[0].feesRefId
0
688
* def licAncillaryFees = serverResponse[0].ancillaryFees+''
0
689
* def licfilingFees = serverResponse[0].filingFees+''
0
690
* def licInitialFees = serverResponse[0].initialFees
0
# And def totalFees = licInitialFees+licfilingFees+licAncillaryFees
#And print totalFees
697
Given path '/internalapi/api/notification/SaveNotification'
0
699
And header Content-Type = 'application/json; charset=utf-8'
0
700
And header Accept = 'application/json; text/plain;*/*'
0
701
And header authorization = 'Bearer ' + strToken
0
702
And request {"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}
0
703
When method post
158
20:37:35.210 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/notification/SaveNotification
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
2 > Content-Length: 2006
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13998,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13998,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13998,"createdBy":"Tarun Gupta"}
20:37:35.367 response time in milliseconds: 157
2 < 200
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:07:35 GMT
2 < Content-Length: 5
false
704
Then status 200
0
705
And print response
0
20:37:35.367 [print] false
710
Given path 'internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
711
And header Content-Type = 'application/json; charset=utf-8'
0
712
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
726
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
735
* def date = getDate2()
1
736
* def futureDate = futureDateFunc()
2
737
And header Accept = 'application/json; text/plain;*/*'
0
738
And header authorization = 'Bearer ' + strToken
0
740
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":40000}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees1)',"totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":'#(licTerm)',"termDesc":'#(licTermDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-03-31T00:00:00.000Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
741
When method post
202
20:37:35.372 request:
3 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13998/false
3 > Content-Type: application/json; charset=utf-8
3 > Accept: application/json; text/plain;*/*
3 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
3 > Content-Length: 5063
3 > Host: slaleapqaapi.svam.com
3 > Connection: Keep-Alive
3 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
3 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":13998,"slaintakeDate":"2022-11-15T20:37:35.369Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T20:37:35.369Z","amount":40000}],"appFees":{"appFees":[{"licenseName":"Industrial alcohol","applicationId":"RE-22-06379-01","applicationTypeId":1,"appFeesId":0,"appId":13998,"feesRefId":7170,"initialFees":0,"licensingFees":192,"amendmentFees":"0.00","renewalFees":"30","totalFees":212.0,"filingFees":"0","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":212.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-03-31T00:00:00.000Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13998,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13998,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13998,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13998,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13998,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13998,"createdBy":"Tarun Gupta"},"taskId":null}
20:37:35.573 response time in milliseconds: 200
3 < 200
3 < Content-Length: 4
3 < Content-Type: application/json; charset=utf-8
3 < Server: Microsoft-IIS/10.0
3 < Strict-Transport-Security: max-age=2592000
3 < X-Powered-By: ASP.NET
3 < Date: Tue, 15 Nov 2022 15:07:35 GMT
true
742
Then status 200
0
744
Given path 'internalapi/api/licensing/fees/check-payments/get/'+appId
0
745
And header authorization = 'Bearer ' + strToken
0
746
And request {}
0
747
When method get
155
20:37:35.574 request:
4 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/check-payments/get/13998
4 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
4 > Content-Type: application/json; charset=UTF-8
4 > Content-Length: 2
4 > Host: slaleapqaapi.svam.com
4 > Connection: Keep-Alive
4 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
4 > Accept-Encoding: gzip,deflate
{}
20:37:35.728 response time in milliseconds: 154
4 < 200
4 < Content-Type: application/json; charset=utf-8
4 < Server: Microsoft-IIS/10.0
4 < Strict-Transport-Security: max-age=2592000
4 < X-Powered-By: ASP.NET
4 < Date: Tue, 15 Nov 2022 15:07:35 GMT
4 < Content-Length: 443
[{"checkDetailId":2396,"appId":13998,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T00:00:00","slaintakeDate":"2022-11-15T00:00:00","amount":40000.0000,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T10:07:35.577","modifiedBy":null,"modifiedDate":null}]
748
Then status 200
0
749
And def checkDetailId = response[0].checkDetailId
0
750
And print checkDetailId
0
20:37:35.730 [print] 2396
752
Given path '/internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
753
And header Content-Type = 'application/json; charset=utf-8'
0
754
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
765
* def futureDate = futureDateFunc()
2
766
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
775
* def date = getDate2()
0
777
And header Accept = 'application/json; text/plain;*/*'
0
778
And header authorization = 'Bearer ' + strToken
0
779
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(totalFees)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":'#(licInitialFees)',"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees1)',"totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":'#(licAncillaryFees)',"isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(futureDate)',"emailNotificationDetail":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
782
When method post
212
20:37:35.732 request:
5 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13998/false
5 > Content-Type: application/json; charset=utf-8
5 > Accept: application/json; text/plain;*/*
5 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
5 > Content-Length: 5060
5 > Host: slaleapqaapi.svam.com
5 > Connection: Keep-Alive
5 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
5 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":13998,"slaintakeDate":"2022-11-15T20:37:35.732Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T20:37:35.732Z","amount":212.0}],"appFees":{"appFees":[{"licenseName":"Industrial alcohol","applicationId":"RE-22-06379-01","applicationTypeId":1,"appFeesId":0,"appId":13998,"feesRefId":7170,"initialFees":0.0,"licensingFees":192,"amendmentFees":"0.00","renewalFees":"30","totalFees":212.0,"filingFees":"0","ancillaryFees":"0","isFeesWaived":false,"underPaymentAmount":212.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-12-15T20:37:35.730Z","emailNotificationDetail":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13998,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13998,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13998,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13998,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13998,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13998,"createdBy":"Tarun Gupta"},"taskId":null}
20:37:35.945 response time in milliseconds: 213
5 < 200
5 < Content-Length: 4
5 < Content-Type: application/json; charset=utf-8
5 < Server: Microsoft-IIS/10.0
5 < Strict-Transport-Security: max-age=2592000
5 < X-Powered-By: ASP.NET
5 < Date: Tue, 15 Nov 2022 15:07:35 GMT
true
783
Then status 200
0
# ********* SAVE Application Details To Save *********************
787
Given path '/internalapi/api/licensing/app/save'
0
788
And header authorization = 'Bearer ' + strToken
0
789
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":'#(appId)',"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
790
When method post
281
20:37:35.947 request:
6 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
6 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
6 > Content-Type: application/json; charset=UTF-8
6 > Content-Length: 30722
6 > Host: slaleapqaapi.svam.com
6 > Connection: Keep-Alive
6 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
6 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13998,"formID":1206,"applicationID":"RE-22-06379-01","formName":"Industrial alcohol","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":13998,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
20:37:36.227 response time in milliseconds: 280
6 < 200
6 < Content-Length: 48
6 < Content-Type: application/json; charset=utf-8
6 < Server: Microsoft-IIS/10.0
6 < Strict-Transport-Security: max-age=2592000
6 < X-Powered-By: ASP.NET
6 < Date: Tue, 15 Nov 2022 15:07:36 GMT
{"appId":13998,"applicationId":"RE-22-06379-01"}
791
Then status 200
0
# ********* Save PAYMENT *********************
796
Given path '/internalapi/api/licensing/fees/details/save/'+appId +'/false'
0
797
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
808
* def slaDate = licFeesDate()
1
809
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
821
* def slaaDate = licDate()
0
822
* def licInitialFees1 = licInitialFees+''
0
823
And print licInitialFees1
0
20:37:36.229 [print] 0
824
* def renewalFees1 = renewalFees+''
0
825
And print renewalFees1
0
20:37:36.229 [print] 30
826
* def totalFees1 = totalFees+''
0
828
And print totalFees1
0
20:37:36.229 [print] 212
829
* def licAncillaryFees1 = licAncillaryFees+''
0
830
* def licfilingFees1 = licfilingFees+''
0
832
And header authorization = 'Bearer ' + strToken
0
833
And request {"checks":[{"checkDetailId":'#(checkDetailId)',"appId":'#(appId)',"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":'#(date)',"slaintakeDate":'#(date)',"amount":40000,"appliedTo":null,"amountUsed":40000,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-03-24T09:43:00.873","modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":'#(licFeesRefId)',"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees1)',"totalFees":'#(totalFees1)',"filingFees":'#(licfilingFees1)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":0,"amountReceived":"40000.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":'#(appId)',"checkDetailId":'#(checkDetailId)',"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":"40000.00","amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":"1970-01-01T00:00:00.000Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
# {"checks":[{"checkDetailId":1622,"appId":5856,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T00:00:00.000Z","slaintakeDate":"2022-09-23T00:00:00.000Z","amount":"100.00","isPaymentFailed":false,"appliedTo":null,"amountUsed":100,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-09-23T13:22:04.11","modifiedBy":null,"modifiedDate":null,"applyClick":true},{"checkDetailId":1623,"appId":5856,"paymentSource":"RDC","checkNo":"2","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T00:00:00.000Z","slaintakeDate":"2022-09-23T00:00:00.000Z","amount":"10.00","isPaymentFailed":false,"appliedTo":null,"amountUsed":10,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-09-23T13:22:04.113","modifiedBy":null,"modifiedDate":null,"applyClick":true}],"appFees":{"appFees":[{"licenseName":"Restaurant - Beer","applicationId":"RE-22-106102-01","applicationTypeId":2,"appFeesId":3976,"appId":5856,"feesRefId":6039,"initialFees":0,"licensingFees":"960.00","am "paymentDetails":[{"appPaymentId":2112,"amountAppliedForApp":"100.00","checkDetailId":1622,"appId":5856,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T00:00:00","slaintakeDate":"2022-09-23T00:00:00","amount":0,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":null,"createdDate":"2022-09-23T13:21:19.61","modifiedBy":"tgupta@svam.com","modifiedDate":"2022-09-23T13:22:04.06"},{"appPaymentId":2113,"amountAppliedForApp":"10.00","checkDetailId":1623,"appId":5856,"paymentSource":"RDC","checkNo":"2","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T00:00:00","slaintakeDate":"2022-09-23T00:00:00","amount":0,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":null,"createdDate":"2022-09-23T13:21:19.623","modifiedBy":"tgupta@svam.com","modifiedDate":"2022-09-23T13:22:04.07"}],"lateFee":0,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}],"isBondRequired":true,"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":true,"fundDueDate":"2022-09-30T00:00:00.000Z","emailNotificationDetail":{"applicant":{"communicationId":0,"email":"automation@svam.com","appId":5856,"emailContactTypeId":1,"isChecked":true,"roleId":3,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":19517,"email":"sbandi@svam.com","appId":5856,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"automation@test.com","appId":5856,"emailContactTypeId":0,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":true,"appId":5856,"notificationTypeId":96}},"notificationDetails":{"applicant":{"communicationId":0,"email":"automation@svam.com","appId":5856,"emailContactTypeId":1,"isChecked":true,"roleId":3,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":19517,"email":"sbandi@svam.com","appId":5856,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"automation@test.com","appId":5856,"emailContactTypeId":0,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":true,"appId":5856,"notificationTypeId":96},"taskId":2066}
# {"checks":[{"checkDetailId":1625,"appId":5858,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T22:56:37.353Z","slaintakeDate":"2022-09-23T22:56:37.353Z","amount":100 ,"appliedTo":null,"amountUsed":100,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-09-23T22:56:37.353,"modifiedBy":null,"modifiedDate":null,"applyClick":true,"{"checkDetailId":1626,"appId":5858,"paymentSource":"RDC","checkNo":"2","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T22:56:37.353Z","slaintakeDate":"2022-09-23T22:56:37.353Z","amount":"10" ,"appliedTo":null,"amountUsed":0 ,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-09-23T22:56:37.353 ,"modifiedBy":null,"modifiedDate":null,"applyClick":true,],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer", "applicationId":"RE-22-106103-01","applicationTypeId":1,"appFeesId":6039,"appId":5858,"feesRefId":6039,"initialFees":0,"licensingFees":960 ,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":"960" ,"filingFees":"0" ,"ancillaryFees":"0" ,"isFeesWaived":false,"underPaymentAmount":0 ,"amountReceived":"10" ,"waivedComment":null,"isBondReceived":false,"isBondRequired":true,"bondFee":1000,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":5858,"checkDetailId":1625,"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":"100.00","amount":0},{"appId":5858,"checkDetailId":1626,"checkNo":"2","itemNo":"1","batchNo":"1","amountAppliedForApp":"10","amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"isFromReturnedCheck":false,"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":true,"fundDueDate":"2022-09-30T22:56:36.973Z","emailNotificationDetail":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":5858,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":5858,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":5858,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":5858,"createdBy":"Tarun Gupta"},"taskId":null}
836
When method post
237
20:37:36.231 request:
7 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13998/false
7 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
7 > Content-Type: application/json; charset=UTF-8
7 > Content-Length: 5453
7 > Host: slaleapqaapi.svam.com
7 > Connection: Keep-Alive
7 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
7 > Accept-Encoding: gzip,deflate
{"checks":[{"checkDetailId":2396,"appId":13998,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T20:37:35.732Z","slaintakeDate":"2022-11-15T20:37:35.732Z","amount":40000,"appliedTo":null,"amountUsed":40000,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-03-24T09:43:00.873","modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":"Industrial alcohol","applicationId":"RE-22-06379-01","applicationTypeId":1,"appFeesId":7170,"appId":13998,"feesRefId":7170,"initialFees":0,"licensingFees":192,"amendmentFees":"0.00","renewalFees":"30","totalFees":"212","filingFees":"0","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":0,"amountReceived":"40000.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":13998,"checkDetailId":2396,"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":"40000.00","amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":"1970-01-01T00:00:00.000Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13998,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13998,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13998,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13998,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13998,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13998,"createdBy":"Tarun Gupta"},"taskId":null}
20:37:36.467 response time in milliseconds: 236
7 < 200
7 < Content-Length: 4
7 < Content-Type: application/json; charset=utf-8
7 < Server: Microsoft-IIS/10.0
7 < Strict-Transport-Security: max-age=2592000
7 < X-Powered-By: ASP.NET
7 < Date: Tue, 15 Nov 2022 15:07:36 GMT
true
837
Then status 200
0
838
And print response
0
20:37:36.467 [print] true
# ********* SAVE Application Details To Save *********************
843
Given path '/internalapi/api/licensing/app/save'
0
844
And header authorization = 'Bearer ' + strToken
0
845
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":'#(appId)',"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
846
When method post
239
20:37:36.470 request:
8 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
8 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
8 > Content-Type: application/json; charset=UTF-8
8 > Content-Length: 30722
8 > Host: slaleapqaapi.svam.com
8 > Connection: Keep-Alive
8 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
8 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13998,"formID":1206,"applicationID":"RE-22-06379-01","formName":"Industrial alcohol","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":13998,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
20:37:36.707 response time in milliseconds: 237
8 < 200
8 < Content-Length: 48
8 < Content-Type: application/json; charset=utf-8
8 < Server: Microsoft-IIS/10.0
8 < Strict-Transport-Security: max-age=2592000
8 < X-Powered-By: ASP.NET
8 < Date: Tue, 15 Nov 2022 15:07:36 GMT
{"appId":13998,"applicationId":"RE-22-06379-01"}
847
Then status 200
0
848
And def serverResponse = response
0
336
* call read('LicensesCommonMethods.feature@UploadDocumentAmendment') {}
689
>>
karate.UseCases.LicensesCommonMethods
236
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
5666
* def receivedDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy/MM/dd");
var date = new java.util.Date();
return sdf.format(date);
}
5675
* def receivedDate = receivedDateFunc()
0
5677
Given path '/internalapi/api/document/UploadDocument'
0
5678
And header Content-Type = 'application/json; charset=utf-8'
0
5679
And header Accept = 'application/json; text/plain;*/*'
0
5680
And header authorization = 'Bearer ' + strToken
0
5681
And request {"documentDesc":"TestDocument.docx","acaId":'#(appId)',"acaType":"application","bureau":"bureau","documentType":{"key":1,"value":"20 DAY NOTICE","description":null,"documentSubCategory":"20 DAY"},"documentCategory":null,"receivedDate":'#(receivedDate)',"createdDate":'#(date)',"documentBase64":"data:application/vnd.openxmlformats-officedocument.wordprocessingml.document;base64,UEsDBBQABgAIAAAAIQDupm+0lQEAACkHAAATAM0BW0NvbnRlbnRfVHlwZXNdLnhtbCCiyQEooAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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ingml.document","fileName":"TestDocument.docx","tempGuid":"7a79aee7-0aff-51fb-2e7c-e2445c418b89"}
0
5683
When method post
234
20:37:37.165 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/document/UploadDocument
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Length: 24547
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"documentDesc":"TestDocument.docx","acaId":13998,"acaType":"application","bureau":"bureau","documentType":{"key":1,"value":"20 DAY NOTICE","description":null,"documentSubCategory":"20 DAY"},"documentCategory":null,"receivedDate":"2022\/11\/15","createdDate":"2022-11-15T20:37:37.163Z","documentBase64":"data:application\/vnd.openxmlformats-officedocument.wordprocessingml.document;base64,UEsDBBQABgAIAAAAIQDupm+0lQEAACkHAAATAM0BW0NvbnRlbnRfVHlwZXNdLnhtbCCiyQEooAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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i0AFAAGAAgAAAAhAF2Pkjy5AAAAyQAAABgAAAAAAAAAAAAAAAAAYzoAAGN1c3RvbVhtbC9pdGVtUHJvcHMzLnhtbFBLAQItABQABgAIAAAAIQAAw+x7EQEAAJIBAAATAAAAAAAAAAAAAAAAAHo7AABkb2NQcm9wcy9jdXN0b20ueG1sUEsBAi0AFAAGAAgAAAAhAHvzAqPDAAAAKAEAAB4AAAAAAAAAAAAAAAAAxD0AAGN1c3RvbVhtbC9fcmVscy9pdGVtMy54bWwucmVsc1BLBQYAAAAAFQAVAHsFAADLPwAAAAA=","contentType":"application\/vnd.openxmlformats-officedocument.wordprocessingml.document","fileName":"TestDocument.docx","tempGuid":"7a79aee7-0aff-51fb-2e7c-e2445c418b89"}
20:37:37.399 response time in milliseconds: 234
1 < 200
1 < Content-Length: 4
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:37 GMT
true
5684
Then status 200
0
5685
And print response
0
20:37:37.399 [print] true
5686
* match response == 'true'
0
337
* call read('LicensesCommonMethods.feature@SubmitLicenseAndValidateLicStatus') {expStatus:'Awaiting Review'}
1610
>>
karate.UseCases.LicensesCommonMethods
1191
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Application SUBMIT *********************
1099
Given path '/internalapi/api/licensing/app/submit'
0
1100
And header authorization = 'Bearer ' + strToken
0
1101
And request {"appId":'#(appId)',"wfType":null}
0
1102
When method post
257
20:37:37.820 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/submit
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 29
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"appId":13998,"wfType":null}
20:37:38.077 response time in milliseconds: 256
1 < 200
1 < Content-Length: 120
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:37 GMT
{"success":true,"submittedApps":[{"success":true,"taskId":0,"appId":13998,"applicationId":"RE-22-06379-01","error":""}]}
1103
Then status 200
0
1104
And def serverResponse = response
0
1105
And match response.success == true
0
1106
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
933
>>
karate.UseCases.LicensesCommonMethods
423
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
189
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
230
20:37:38.768 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13998
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:37:38.999 response time in milliseconds: 231
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:38 GMT
1 < Content-Length: 213
{"applicationId":"RE-22-06379-01","submitDate":"2022-11-15T10:07:37.987","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":false,"isPreFilled":true}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:37:38.999 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
338
* def SafekeepingStatus = false
0
339
* def licPerType = 'permit'
0
340
* call read('LicensesCommonMethods.feature@AssignApplicationsToExaminer') {expStatus:'Awaiting Review'}
1567
>>
karate.UseCases.LicensesCommonMethods
1094
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* AssignApplicationsSaveDigestDataToExaminer *********************
1139
Given path '/internalapi/api/licensing/examiner/assignApplicationsToExaminer'
0
1140
And header authorization = 'Bearer ' + strToken
0
1141
And request [{"appId":'#(appId)',"examinerId":1069,"priority":"Normal"}]
0
1142
When method post
190
20:37:39.483 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner/assignApplicationsToExaminer
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 55
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"appId":13998,"examinerId":1069,"priority":"Normal"}]
20:37:39.672 response time in milliseconds: 189
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:38 GMT
1 < Content-Length: 5
false
1143
And def serverResponse = response
0
1144
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
902
>>
karate.UseCases.LicensesCommonMethods
376
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
219
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
153
20:37:40.408 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13998
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYzY3NmRjMDUtYWIzYi00ZTMyLTgzNjgtNTI5NDgzMmIwYzhhIiwiZXhwIjoxNjY4NTUzNTg5LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.cTDnuKWyVwMcDo5SswGfLEXQFhA1kFSymQkkgHXbsBI
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:37:40.560 response time in milliseconds: 152
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:40 GMT
1 < Content-Length: 213
{"applicationId":"RE-22-06379-01","submitDate":"2022-11-15T10:07:37.987","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":false,"isPreFilled":true}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:37:40.561 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
Scenario: [3:353]
TC0001_SLA_REN_Duedate_Extension_Approve_Respond_Deficiencies_License
ms: 40311
>>
Background:
3
* url BaseURL
0
20:37:40.582 karate.env system property was: svamqa
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def amendmentTypeId = 1
0
8
* callonce read('LoginDetails.feature') { strToken:'#(strToken)'}
32
9
* def getcorporateStructureCodeFunc =
0
function(value){
if (value === 'Individual'){
return 1;
}
else {
return 2;
}
}
20
* def getStatusIndOrgStatus =
0
function(value){
if (value === 'Individual'){
return true;
}
else {
return false;
}
}
31
* def getIndORgCodeFunc =
0
function(value1, value2){
if (value1 == 1 && value2 == 'Individual'){
return 1;
}
else if (value1 == 1 && value2 == 'Sole Propretior'){
return 2;
}
else if (value1 == 2 && value2 == 'Individual'){
return 1;
}
else if (value1 == 2 && value2 == 'Limited Liability Company'){
return 2;
}else if (value1 == 2 && value2 == 'Corporation'){
return 3;
}else if (value1 == 2 && value2 == 'Limited Liability Partnership'){
return 4;
}else if (value1 == 2 && value2 == 'Limited Partnership'){
return 5;
}else if (value1 == 2 && value2 == 'Partnership'){
return 6;
}else if (value1 == 2 && value2 == 'Government'){
return 7;
}else if (value1 == 2 && value2 == 'Sole Propretior'){
return 8;
}else if (value1 == 2 && value2 == 'Trust'){
return 9;
}else if (value1 == 2 && value2 == 'Estate'){
return 10;
}
else {
return 1;
}
}
68
* def getAmendmentTypeIdFunc =
0
function(amendmentType){
if (amendmentType == 'ABC Officer'){
return 1;
}
else if (amendmentType == 'Additional Bar'){
return 2;
}
else if (amendmentType == 'Alteration'){
return 3;
}
else if (amendmentType == 'Alteration with Additional Bar'){
return 3;
}
}
87
* def waitFunc =
0
function(timeinMiliSeconds) {
// load java type into js engine
var Thread = Java.type('java.lang.Thread');
Thread.sleep(timeinMiliSeconds*1000);
}
95
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
106
* def fundDueDateFuncRenewal =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
118
* def getMMMMDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("MMMM dd, yyyy");
var date = new java.util.Date();
return sdf.format(date);
}
128
* def mmmmdate = getMMMMDate()
1
130
* def getMMYYDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("MM/dd/yyyy");
var date = new java.util.Date();
return sdf.format(date);
}
140
* def mmyydate = getMMYYDate()
0
142
* def getFundDueDateMMYYDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("MM/dd/yyyy");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
154
* def mmyydateFundDueDate = getFundDueDateMMYYDate(7)
1
156
* def dateFnc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date( date.getTime() - java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
## ******************** UC_RenewalExaminerReview: Validate TC0051_SLA_REN_Examiners_Review_Approved_Refer_to_CounselOffice_Safekeeping_Define_provisions_Removal Scenario Start ***************************##
355
* call read('Uc_RenewalDueDate.feature@SLA_REN_Lic_AssignToExaminer') {}
39632
>>
karate.UseCases.Uc_RenewalDueDate
38483
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def amendmentTypeId = 1
0
8
* callonce read('LoginDetails.feature') { strToken:'#(strToken)'}
24
9
* def getcorporateStructureCodeFunc =
0
function(value){
if (value === 'Individual'){
return 1;
}
else {
return 2;
}
}
20
* def getStatusIndOrgStatus =
0
function(value){
if (value === 'Individual'){
return true;
}
else {
return false;
}
}
31
* def getIndORgCodeFunc =
0
function(value1, value2){
if (value1 == 1 && value2 == 'Individual'){
return 1;
}
else if (value1 == 1 && value2 == 'Sole Propretior'){
return 2;
}
else if (value1 == 2 && value2 == 'Individual'){
return 1;
}
else if (value1 == 2 && value2 == 'Limited Liability Company'){
return 2;
}else if (value1 == 2 && value2 == 'Corporation'){
return 3;
}else if (value1 == 2 && value2 == 'Limited Liability Partnership'){
return 4;
}else if (value1 == 2 && value2 == 'Limited Partnership'){
return 5;
}else if (value1 == 2 && value2 == 'Partnership'){
return 6;
}else if (value1 == 2 && value2 == 'Government'){
return 7;
}else if (value1 == 2 && value2 == 'Sole Propretior'){
return 8;
}else if (value1 == 2 && value2 == 'Trust'){
return 9;
}else if (value1 == 2 && value2 == 'Estate'){
return 10;
}
else {
return 1;
}
}
68
* def getAmendmentTypeIdFunc =
0
function(amendmentType){
if (amendmentType == 'ABC Officer'){
return 1;
}
else if (amendmentType == 'Additional Bar'){
return 2;
}
else if (amendmentType == 'Alteration'){
return 3;
}
else if (amendmentType == 'Alteration with Additional Bar'){
return 3;
}
}
87
* def waitFunc =
0
function(timeinMiliSeconds) {
// load java type into js engine
var Thread = Java.type('java.lang.Thread');
Thread.sleep(timeinMiliSeconds*1000);
}
95
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
106
* def fundDueDateFuncRenewal =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
118
* def getMMMMDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("MMMM dd, yyyy");
var date = new java.util.Date();
return sdf.format(date);
}
128
* def mmmmdate = getMMMMDate()
0
130
* def getMMYYDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("MM/dd/yyyy");
var date = new java.util.Date();
return sdf.format(date);
}
140
* def mmyydate = getMMYYDate()
0
142
* def getFundDueDateMMYYDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("MM/dd/yyyy");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
154
* def mmyydateFundDueDate = getFundDueDateMMYYDate(7)
0
156
* def dateFnc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date( date.getTime() - java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
172
* def IndOrgSelectionDropDown = 'Individual'
0
173
* def indOrgCode = getIndORgCodeFunc(IndOrgSelectionDropDown)
0
174
And print indOrgCode
0
20:37:41.787 [print] 1
175
* def isIndStatus = getStatusIndOrgStatus(IndOrgSelectionDropDown)
0
176
* def CorporateStructureDropDown = 'Individual'
0
177
* def CorporateStructureDropDownCode = getIndORgCodeFunc(indOrgCode,CorporateStructureDropDown)
0
178
And print CorporateStructureDropDownCode
0
20:37:41.787 [print] 1
179
* def firstName = 'Automation'
0
180
* def lastName = 'Automation'
0
181
* def legalName = firstName+ ' '+lastName
0
182
* def Address1 = 'Address1'
0
183
* def Address2 = 'Address2'
0
184
* def CityName = 'New York'
0
185
* def zipCode = '12345'
0
186
* def postalCode = '1234'
0
187
* def countryName = 'United States (US)'
0
188
* def emailId = 'automation@svam.com'
0
189
* def convictedOfCrime = '1'
0
190
* def percentageOfOwners = '20'
0
191
* def isFingerprintRequired = true
0
192
* def isFingerprintsApproved = true
0
193
* def isSignature = true
0
195
* def convictedOfCrime = '1'
0
196
* def PhoneNumber = '999-999-9999'
0
197
* def PhoneExtn = 1234
0
198
* def countryCode = '+91'
0
199
* def stateCode = 40
0
201
* def mainLicensePermitTypeId = 40
0
202
* def termInYears = 3
0
203
* def termDesc = 3+' Year (s)'
0
204
* def licenseFees = 960
0
205
* def fillingFees = 100
0
206
* def licAncillaryFees = 0
0
207
* def renewalFees = 30+''
0
208
* string productName = 'RestaurantBeer'+''
0
210
* def CountyId = 1
0
211
* def CountyName = 'New York'
0
212
* def totalFees = licenseFees+fillingFees+licAncillaryFees
0
213
* def splittedCityName = CityName.replaceAll(" ","")
0
215
* call read('LicensesCommonMethods.feature@IntakeLicensewithoutAssociatedLic') {}
2773
>>
karate.UseCases.LicensesCommonMethods
2180
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
3
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* App Intake *********************
290
* call read('LicensesCommonMethods.feature@GetCountyList') {}
1092
>>
karate.UseCases.LicensesCommonMethods
569
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
117
Given path '/internalapi/api/reference'
0
118
* def dbSts = db.cleanHeap()
432
119
And header authorization = 'Bearer ' + strToken
0
120
And header Content-Type = 'application/json;charset=utf-8'
0
121
And header Accept = 'text/plain'
0
# * def query = {name:countyzone&onlyActives:true}
123
And params {name:countyzone,onlyActives:true}
0
#And param onlyActives='true'
125
And request {}
0
126
When method get
134
20:37:43.295 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/reference?name=countyzone&onlyActives=true
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
1 > Content-Type: application/json;charset=utf-8
1 > Accept: text/plain
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:37:43.427 response time in milliseconds: 132
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:43 GMT
1 < Content-Length: 11712
{"values":[{"CountyId":1,"County":"New York","ShortName":"NEW","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T00:00:00","ModifiedBy":"esandoval","ModifiedDate":"2020-11-10T11:30:56.047"},{"CountyId":2,"County":"Kings","ShortName":"KING","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":3,"County":"Bronx","ShortName":"BRON","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":4,"County":"Queens","ShortName":"QUEE","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":5,"County":"Richmond","ShortName":"RICH","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":6,"County":"Nassau","ShortName":"NASS","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":7,"County":"Suffolk","ShortName":"SUFF","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":8,"County":"Westchester","ShortName":"WEST","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":9,"County":"Orange","ShortName":"ORAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":10,"County":"Putnam","ShortName":"PUTN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":11,"County":"Rockland","ShortName":"ROCK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":12,"County":"Albany","ShortName":"ALBA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":13,"County":"Clinton","ShortName":"CLIN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":14,"County":"Columbia","ShortName":"COLU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":15,"County":"Dutchess","ShortName":"DUTC","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":16,"County":"Essex","ShortName":"ESSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":17,"County":"Franklin","ShortName":"FRAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":18,"County":"Fulton","ShortName":"FULT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":19,"County":"Greene","ShortName":"GREE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":20,"County":"Hamilton","ShortName":"HAMI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":21,"County":"Montgomery","ShortName":"MONT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":22,"County":"Rensselaer","ShortName":"RENS","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":23,"County":"Saratoga","ShortName":"SARA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":24,"County":"Schenectady","ShortName":"SCHE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":25,"County":"Schoharie","ShortName":"SCHO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":26,"County":"Sullivan","ShortName":"SULL","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":27,"County":"Ulster","ShortName":"ULST","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":28,"County":"Warren","ShortName":"WARR","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":29,"County":"Washington","ShortName":"WASH","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":30,"County":"Allegany","ShortName":"ALLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":31,"County":"Cattaraugus","ShortName":"CATT","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":32,"County":"Chautauqua","ShortName":"CHAU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":33,"County":"Chemung","ShortName":"CHEM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":34,"County":"Erie","ShortName":"ERIE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":35,"County":"Genesee","ShortName":"GENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":36,"County":"Livingston","ShortName":"LIVI","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":37,"County":"Monroe","ShortName":"MONR","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":38,"County":"Niagara","ShortName":"NIAG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":39,"County":"Ontario","ShortName":"ONTA","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":40,"County":"Orleans","ShortName":"ORLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":41,"County":"Schuyler","ShortName":"SCHU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":42,"County":"Seneca","ShortName":"SENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":43,"County":"Steuben","ShortName":"STEU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":44,"County":"Wayne","ShortName":"WAYN","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":45,"County":"Wyoming","ShortName":"WYOM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":46,"County":"Yates","ShortName":"YATE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":47,"County":"Broome","ShortName":"BROO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":48,"County":"Chenango","ShortName":"CHEN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":49,"County":"Cortland","ShortName":"CORT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":50,"County":"Delaware","ShortName":"DELA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":51,"County":"Herkimer","ShortName":"HERK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":52,"County":"Jefferson","ShortName":"JEFF","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":53,"County":"Lewis","ShortName":"LEWI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":54,"County":"Madison","ShortName":"MADI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":55,"County":"Oneida","ShortName":"ONEI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":56,"County":"Onondaga","ShortName":"ONON","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":57,"County":"Oswego","ShortName":"OSWE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":58,"County":"Otsego","ShortName":"OTSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":59,"County":"St. Lawrence","ShortName":"ST L","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":60,"County":"Cayuga","ShortName":"CAYU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":61,"County":"Tioga","ShortName":"TIOG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":62,"County":"Tompkins","ShortName":"TOMP","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.6","ModifiedBy":null,"ModifiedDate":null}],"name":"countyzone","schema":[{"columnName":"CountyId","dataType":"int","maxLenght":null,"isRequired":true},{"columnName":"County","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ShortName","dataType":"nvarchar","maxLenght":10,"isRequired":false},{"columnName":"ZoneNo","dataType":"int","maxLenght":null,"isRequired":false},{"columnName":"IsActive","dataType":"bit","maxLenght":null,"isRequired":false},{"columnName":"CreatedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"CreatedDate","dataType":"datetime","maxLenght":null,"isRequired":false},{"columnName":"ModifiedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ModifiedDate","dataType":"datetime","maxLenght":null,"isRequired":false}]}
127
* configure continueOnStepFailure = true
0
128
Then status 200
0
129
And def values = response.values
0
130
* configure continueOnStepFailure = true
0
291
* def countyData = karate.jsonPath(values, "$[?(@.CountyId == '" + CountyId + "')]")
0
292
* def countyZone = countyData[0].ZoneNo
0
293
And print countyZone
0
20:37:43.456 [print] 1
294
Given path '/internalapi/api/licensing/selectapptype/savenewlicenseapp'
0
295
* def dbSts = db.cleanHeap()
240
296
And header authorization = 'Bearer ' + strToken
0
297
And header Content-Type = 'application/json; charset=utf-8'
0
298
And header Accept = 'application/json; text/plain;*/*'
0
#* def CountysId = <countyIds>
# And print CountysId
#* string CountysName = <countynames>
# And print CountysName
#* def mainLicensePermitTypeId = <LicensePermitTypeId>
# And print mainLicensePermitTypeId
#* string ProductType = <ProductTypes>
#* string LicenseDescription = <LicDescription>
# And print ProductType
309
And request {"mainLicensePermitTypeId":'#(mainLicensePermitTypeId)',"newPermitTypeIds":[],"combinedCraftId":null,"masterFileId":null,"isApplicableForTempPermit":false,"isNotQualified":false,"isChainRestaurant":false,"addBarList":[],"countyId":'#(CountyId)',"isApplicantCurrentLicensed":false,"isExistingManufacturer":false,"selectedLicense":null,"isAssociatedTempPermit":false}
0
311
When method post
549
20:37:43.697 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/selectapptype/savenewlicenseapp
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 327
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"mainLicensePermitTypeId":40,"newPermitTypeIds":[],"combinedCraftId":null,"masterFileId":null,"isApplicableForTempPermit":false,"isNotQualified":false,"isChainRestaurant":false,"addBarList":[],"countyId":1,"isApplicantCurrentLicensed":false,"isExistingManufacturer":false,"selectedLicense":null,"isAssociatedTempPermit":false}
20:37:44.245 response time in milliseconds: 548
1 < 200
1 < Content-Length: 234
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:43 GMT
[{"childAppId":null,"mainApplicationId":"NA-0111-22-119160","childApplicationId":null,"licensePermitTypeId":40,"description":"Restaurant-Beer","parentApplicationId":"NA-0111-22-119160","parentAppId":13999,"appId":13999,"formId":1165}]
312
* configure continueOnStepFailure = true
0
313
Then status 200
0
315
And def ApplicationId = response[0].mainApplicationId
0
316
And print ApplicationId
0
20:37:44.246 [print] NA-0111-22-119160
317
And match ApplicationId contains 'NA-'
0
319
* def currentYear = '-'+getYearFunc()+'-'+countyZone
1
320
And match ApplicationId contains currentYear
0
321
And def description = response[0].description
0
323
And def appId = response[0].appId
0
325
* def formId = response[0].formId
0
326
* def FormVersionId = response[0].FormVersionId
0
328
Given path '/internalapi/api/application/preview/'+appId
0
329
* def dbSts = db.cleanHeap()
145
330
And header authorization = 'Bearer ' + strToken
0
331
And header Content-Type = 'application/json; charset=utf-8'
0
332
And header Accept = 'application/json; text/plain;*/*'
0
333
And configure continueOnStepFailure = true
0
334
And request {}
0
335
When method get
144
20:37:44.393 request:
2 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13999
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > Content-Length: 2
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{}
20:37:44.537 response time in milliseconds: 144
2 < 200
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:07:44 GMT
2 < Content-Length: 185
{"applicationId":"NA-0111-22-119160","submitDate":null,"licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Draft"},"isLicenseApplication":true,"isPreFilled":false}
336
* configure continueOnStepFailure = true
0
337
Then status 200
0
338
And def licStatus = response.appStatus.statusDescription
0
339
And print licStatus
0
20:37:44.538 [print] Draft
340
And match licStatus == 'Draft'
0
216
* def CountyName = "New York"
0
217
* call read('LicensesCommonMethods.feature@FillAndSaveApplicantInformationPage') {county:'#(CountyName)'}
709
>>
karate.UseCases.LicensesCommonMethods
183
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
700
* def getDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
709
Given path '/internalapi/api/licensing/app/static/applicantinfo/save/'+appId
0
710
And header Content-Type = 'application/json; charset=utf-8'
0
712
* def autoFirstName = firstName + getDate()
0
713
* def legalName = autoFirstName + lastName
0
714
And header Accept = 'application/json; text/plain;*/*'
0
715
And header authorization = 'Bearer ' + strToken
0
716
And request {"businessInfo":{"website":null,"businessEntity":{"individualOrganization":'#(indOrgCode)',"corporateStructure":'#(CorporateStructureDropDownCode)',"firstName":'#(autoFirstName)',"lastName":'#(lastName)',"middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":'#(legalName)',"id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":'#(IndOrgSelectionDropDown)',"corporateStructureText":'#(CorporateStructureDropDown)',"isIndividual":'#(isIndStatus)'},"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"2","phoneTypeText":"Office","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
0
717
When method post
180
20:37:45.073 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/applicantinfo/save/13999
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
1 > Content-Length: 2167
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"businessInfo":{"website":null,"businessEntity":{"individualOrganization":1,"corporateStructure":1,"firstName":"Automation20221115203745","lastName":"Automation","middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":"Automation20221115203745Automation","id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":"Individual","corporateStructureText":"Individual","isIndividual":true},"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"2","phoneTypeText":"Office","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
20:37:45.251 response time in milliseconds: 178
1 < 200
1 < Content-Length: 2191
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:44 GMT
{"businessInfo":{"id":0,"website":null,"isLicensed":false,"isAssociated":false,"businessEntity":{"id":4022,"individualOrganization":"1","corporateStructure":1,"isEmployeeForSoleProprietor":null,"firstName":"Automation20221115203745","lastName":"Automation","middleName":"AutoMidName","ssn":"","fein":"","legalName":"Automation20221115203745Automation","suffix":"1","corporateStructureText":"Individual","individualOrganizationText":"Individual","isIndividual":true},"address":{"addressId":29484,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"US","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25392,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":7874,"phoneType":3,"countryCode":"91","phone":"999-999-9999","phoneExtension":"1234"}]}},"premisesInfo":{"id":13202,"dba":null,"countyId":1,"countyName":"New York","isDbaSearched":null,"isPremisesRequired":true,"licensePermitID":"","address":{"addressId":29485,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"US","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25393,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":7875,"phoneType":2,"countryCode":"+91","phone":"999-999-9999","phoneExtension":"1234"}]}},"applicantDetail":{"id":9794,"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"isPhysicalChange":null,"applicantStatement":{"id":4335,"nameOfApplicant":null,"title":null,"signature":null,"date":null}}}
718
Then status 200
0
218
* call read('LicensesCommonMethods.feature@FillAndSavePrincipalPage') {}
715
>>
karate.UseCases.LicensesCommonMethods
183
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
745
* def getDate1 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
754
Given path '/internalapi/api/licensing/app/static/principal/save/'+appId
0
755
And header Content-Type = 'application/json; charset=utf-8'
0
756
* def prncipalName = firstName + getDate1()
0
757
* def dt = licDate()
0
758
And header Accept = 'application/json; text/plain;*/*'
0
759
And header authorization = 'Bearer ' + strToken
0
760
And request {"entities":[],"principals":[{"principalId":0,"convictedOfCrime":'#(convictedOfCrime)',"percentageOfOwners":'#(percentageOfOwners)',"isFingerprintRequired":'#(isFingerprintRequired)',"isFingerprintsApproved":'#(isFingerprintsApproved)',"title":"15","numberOfShares":"","isSignature":false,"date":'#(dt)',"address":{"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"stateId":'#(stateCode)',"county":'#(CountyName)',"city":"New York","zipCode":'#(zipCode)',"zip4":'#(postalCode)',"country":'#(countryName)',"stateName":'#(CityName)',"countryId":229,"zip":'#(zipCode)'},"person":{"personId":0,"firstName":'#(prncipalName)',"middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":'#(dt)',"age":"","choosedEntity":null,"ssnFormat":"","suffixText":"JR"},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":'#(emailId)',"confirmEmail":'#(emailId)'},"titleText":"Vice President","convictedOfCrimeText":"No","disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
0
# {"entities":[],"principals":[{"principalId":0,"convictedOfCrime":"" ,"percentageOfOwners":"" ,"isFingerprintRequired":true ,"isFingerprintsApproved":true ,"title":"","dcjsFingerPrintStatus":"","numberOfShares":"","isSignature":"","date":"","address":{"addressLine1":"","addressLine2":"","stateId":40,"county":"","city":"","zipCode":"","zip4":"","country":"United States (US)","stateName":"New York","countryId":229,"zip":""},"person":{"personId":0,"firstName":"XA","middleName":"","lastName":"sa","suffix":"","socialSecurityNo":"","birthDate":"","age":"","choosedEntity":null,"ssnFormat":""},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":null,"confirmEmail":null},"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
762
When method post
179
20:37:45.789 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/principal/save/13999
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
1 > Content-Length: 1107
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"entities":[],"principals":[{"principalId":0,"convictedOfCrime":"1","percentageOfOwners":"20","isFingerprintRequired":true,"isFingerprintsApproved":true,"title":"15","numberOfShares":"","isSignature":false,"date":"2022-11-15T20:37:45.788Z","address":{"addressLine1":"Address1","addressLine2":"Address2","stateId":40,"county":"New York","city":"New York","zipCode":"12345","zip4":"1234","country":"United States (US)","stateName":"New York","countryId":229,"zip":"12345"},"person":{"personId":0,"firstName":"Automation20221115203745","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T20:37:45.788Z","age":"","choosedEntity":null,"ssnFormat":"","suffixText":"JR"},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":"automation@svam.com","confirmEmail":"automation@svam.com"},"titleText":"Vice President","convictedOfCrimeText":"No","disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
20:37:45.967 response time in milliseconds: 178
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:45 GMT
1 < Content-Length: 1390
{"entities":[],"principals":[{"principalId":3322,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":true,"isFingerprintsApproved":true,"percentageOfOwners":20.0,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","entities":null,"numberOfShares":"","isSignature":false,"isRemove":false,"date":"2022-11-15T00:00:00","convictedOfCrime":"1","title":"15","isLicensed":false,"isAssociated":false,"person":{"personId":5639,"firstName":"Automation20221115203745","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T00:00:00","serialNo":0,"age":0,"choosedEntity":[]},"address":{"addressId":29486,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25394,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}}]}
763
Then status 200
0
219
* call read('LicensesCommonMethods.feature@FillAndSaveRepresentativePage') {}
699
>>
karate.UseCases.LicensesCommonMethods
181
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Representative *********************
790
Given path '/internalapi/api/licensing/app/static/rep/save/'+appId
0
791
And header authorization = 'Bearer ' + strToken
0
792
And request {"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":'#(CountyName)',"city":'#(CityName)',"zipCode":"10011","country":"United States (US)","stateName":'#(CityName)',"countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
0
793
When method post
179
20:37:46.505 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/rep/save/13999
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 897
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":"New York","city":"New York","zipCode":"10011","country":"United States (US)","stateName":"New York","countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
20:37:46.684 response time in milliseconds: 179
1 < 200
1 < Content-Length: 4
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:45 GMT
true
794
Then status 200
0
795
And def serverResponse = response
0
220
* call read('LicensesCommonMethods.feature@FillAndSaveMethodOfOperationPage') {}
822
>>
karate.UseCases.LicensesCommonMethods
215
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
6389
* def getDate1 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
6398
Given path '/internalapi/api/licensing/app/save'
0
6399
And header Content-Type = 'application/json; charset=utf-8'
0
6400
* def prncipalName = firstName + getDate1()
0
6401
* def dt = licDate()
0
6402
And header Accept = 'application/json; text/plain;*/*'
0
6403
And header authorization = 'Bearer ' + strToken
0
6404
And request {"isApproved":false,"appId":'#(appId)',"formID":1165,"applicationID":"","formName":"","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":1,"formCategory":{},"formCategoryId":1,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and Policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1993,"key":"","label":"Will the business employ a manager?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1994,"key":"","label":"If no, will the principals manage?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1995,"key":"","label":"If Premises is not a caterer establishment, will the premises periodically close to host private events?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1996,"key":"","label":"If Yes, How Frequently?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"Yes","fieldID":1997,"key":"","label":"Will the premises have music?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1998,"key":"","label":"If Live Music, Give Details","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1999,"key":"","label":"Will the premises use the service of an event promoter?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":2000,"key":"","label":"Will the Premises Permit Dancing?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2001,"key":"","label":"Will there be exotic dancing, including but not limited to topless entertainment, pole dancing and or lap dancing?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":2002,"key":"","label":"Will there be topless entertainment?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":16,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2003,"key":"","label":"Will Security Personnel be used at the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":17,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2004,"key":"","label":"How many?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":18,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2005,"key":"","label":"Provide your proprietary security guard employer unique Identification number assigned to the business by the NYS Department of State Division of Licensing Services or the name of the security company through which the security personnel will be hired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":19,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2006,"key":"","label":"Provide a detailed plan of supervision for the premises to be licensed. Clearly describe how you will maintain control and order over the licensed premises. How will you monitor alcohol sales and prevent sales to minors and sales to intoxicated persons? How will you handle unruly patrons, altercations, etc., to prevent the premises from becoming disorderly?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":20,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":2007,"key":"","label":"Are all responses provided in the application consistent with the information provided to the municipality or community board within the standardized notice form for providing thirty day advance notice","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":21,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2008,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":22,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"4","fieldID":2051,"key":"","label":"If Yes, check all that apply","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2052,"key":"","label":"Who will be permitted to dance?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"Method_of_Operation","key":"0","label":"Method Of Operation","order":11,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isStatic":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"parentSection":"","subSections":[],"sectionFieldOrders":[],"address":{"addressLine1":"","addressLine2":"","stateId":null,"county":"","city":"","zipCode":"","zip4":"","country":"United States (US)","stateName":"","countryId":229}}],"formVersionId":1699,"version":25,"licenseDescription":"Restaurant-Beer","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"showAbcOfficer":false,"showCorpChange":false,"showEndorsement":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant_Information","Principal","Representative","Landlord_Identification","Personal_Questionnaire"],"showPQ":true,"showCC":false,"showManuOnPrem":false,"licPermitTypeId":40,"tabVisitied":{"Applicant Information":false,"Principal":false,"Representative":false,"Landlord Identification":false,"Personal Questionnaire":false}}
0
6406
When method post
210
20:37:47.293 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
1 > Content-Length: 12993
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13999,"formID":1165,"applicationID":"","formName":"","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":1,"formCategory":{},"formCategoryId":1,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and Policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1993,"key":"","label":"Will the business employ a manager?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1994,"key":"","label":"If no, will the principals manage?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1995,"key":"","label":"If Premises is not a caterer establishment, will the premises periodically close to host private events?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1996,"key":"","label":"If Yes, How Frequently?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"Yes","fieldID":1997,"key":"","label":"Will the premises have music?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1998,"key":"","label":"If Live Music, Give Details","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1999,"key":"","label":"Will the premises use the service of an event promoter?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":2000,"key":"","label":"Will the Premises Permit Dancing?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2001,"key":"","label":"Will there be exotic dancing, including but not limited to topless entertainment, pole dancing and or lap dancing?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":2002,"key":"","label":"Will there be topless entertainment?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":16,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2003,"key":"","label":"Will Security Personnel be used at the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":17,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2004,"key":"","label":"How many?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":18,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2005,"key":"","label":"Provide your proprietary security guard employer unique Identification number assigned to the business by the NYS Department of State Division of Licensing Services or the name of the security company through which the security personnel will be hired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":19,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2006,"key":"","label":"Provide a detailed plan of supervision for the premises to be licensed. Clearly describe how you will maintain control and order over the licensed premises. How will you monitor alcohol sales and prevent sales to minors and sales to intoxicated persons? How will you handle unruly patrons, altercations, etc., to prevent the premises from becoming disorderly?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":20,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":2007,"key":"","label":"Are all responses provided in the application consistent with the information provided to the municipality or community board within the standardized notice form for providing thirty day advance notice","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":21,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2008,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":22,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"4","fieldID":2051,"key":"","label":"If Yes, check all that apply","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2052,"key":"","label":"Who will be permitted to dance?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"Method_of_Operation","key":"0","label":"Method Of Operation","order":11,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isStatic":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"parentSection":"","subSections":[],"sectionFieldOrders":[],"address":{"addressLine1":"","addressLine2":"","stateId":null,"county":"","city":"","zipCode":"","zip4":"","country":"United States (US)","stateName":"","countryId":229}}],"formVersionId":1699,"version":25,"licenseDescription":"Restaurant-Beer","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"showAbcOfficer":false,"showCorpChange":false,"showEndorsement":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant_Information","Principal","Representative","Landlord_Identification","Personal_Questionnaire"],"showPQ":true,"showCC":false,"showManuOnPrem":false,"licPermitTypeId":40,"tabVisitied":{"Applicant Information":false,"Principal":false,"Representative":false,"Landlord Identification":false,"Personal Questionnaire":false}}
20:37:47.502 response time in milliseconds: 209
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:47 GMT
1 < Content-Length: 51
{"appId":13999,"applicationId":"NA-0111-22-119160"}
6407
Then status 200
0
221
* call read('LicensesCommonMethods.feature@FeesValidation') {amount:'#(totalFees)'}
2678
>>
karate.UseCases.LicensesCommonMethods
2062
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
810
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
820
* def futureDate = futureDateFunc()
1
822
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
832
* def date = getDate2()
0
834
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
835
And header Content-Type = 'application/json; charset=utf-8'
0
836
And header Accept = 'application/json; text/plain;*/*'
0
837
And header authorization = 'Bearer ' + strToken
0
838
And request {}
0
839
When method get
221
20:37:48.118 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/13999
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:37:48.338 response time in milliseconds: 220
1 < 200
1 < Content-Length: 658
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:47 GMT
[{"licenseName":"Restaurant - Beer","applicationId":"NA-0111-22-119160","applicationTypeId":1,"appFeesId":0,"appId":13999,"feesRefId":6039,"initialFees":0.0,"licensingFees":960.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":100.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":false,"isBondRequired":true,"bondFee":1000.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
840
Then status 200
0
841
And def serverResponse = response
0
842
* def licTerm = serverResponse[0].term
0
843
* def licFees = serverResponse[0].licensingFees+''
0
844
* def licTermDesc = serverResponse[0].termDesc
0
845
* def licFeesRefId = serverResponse[0].feesRefId
0
846
* def licAncillaryFees = serverResponse[0].ancillaryFees+''
0
847
* def licfilingFees = serverResponse[0].filingFees+''
0
848
* def licInitialFees = serverResponse[0].initialFees
0
849
* def bndFees = serverResponse[0].bondFee
0
850
* def isBondRequired = serverResponse[0].isBondRequired
0
851
And def totalFees = serverResponse[0].licensingFees+serverResponse[0].filingFees
0
852
And print totalFees
0
20:37:48.338 [print] 1060.0
855
Given path '/internalapi/api/notification/SaveNotification'
0
857
And header Content-Type = 'application/json; charset=utf-8'
0
858
And header Accept = 'application/json; text/plain;*/*'
0
859
And header authorization = 'Bearer ' + strToken
0
860
And request {"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}
0
861
When method post
155
20:37:48.339 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/notification/SaveNotification
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
2 > Content-Length: 2006
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13999,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13999,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13999,"createdBy":"Tarun Gupta"}
20:37:48.493 response time in milliseconds: 154
2 < 200
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:07:47 GMT
2 < Content-Length: 5
false
862
Then status 200
0
863
And print response
0
20:37:48.493 [print] false
# And header Content-Type = 'application/json; charset=utf-8'
869
Given path 'internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
871
And header Accept = 'application/json; text/plain;*/*'
0
872
And header authorization = 'Bearer ' + strToken
0
874
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(amount)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(licTerm)',"termDesc":'#(licTermDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
875
When method post
307
20:37:48.495 request:
3 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13999/false
3 > Accept: application/json; text/plain;*/*
3 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
3 > Content-Type: application/json; charset=UTF-8
3 > Content-Length: 5071
3 > Host: slaleapqaapi.svam.com
3 > Connection: Keep-Alive
3 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
3 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":13999,"slaintakeDate":"2022-11-15T20:37:48.117Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T20:37:48.117Z","amount":1060}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-119160","applicationTypeId":1,"appFeesId":0,"appId":13999,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":1060.0,"filingFees":"100","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T20:37:48.116Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13999,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13999,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13999,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13999,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13999,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13999,"createdBy":"Tarun Gupta"},"taskId":null}
20:37:48.801 response time in milliseconds: 306
3 < 200
3 < Content-Type: application/json; charset=utf-8
3 < Server: Microsoft-IIS/10.0
3 < Strict-Transport-Security: max-age=2592000
3 < X-Powered-By: ASP.NET
3 < Date: Tue, 15 Nov 2022 15:07:48 GMT
3 < Content-Length: 4
true
876
Then status 200
0
878
Given path 'internalapi/api/licensing/fees/check-payments/get/'+appId
0
879
And header authorization = 'Bearer ' + strToken
0
880
And request {}
0
881
When method get
200
20:37:48.802 request:
4 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/check-payments/get/13999
4 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
4 > Content-Type: application/json; charset=UTF-8
4 > Content-Length: 2
4 > Host: slaleapqaapi.svam.com
4 > Connection: Keep-Alive
4 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
4 > Accept-Encoding: gzip,deflate
{}
20:37:49.001 response time in milliseconds: 199
4 < 200
4 < Content-Length: 441
4 < Content-Type: application/json; charset=utf-8
4 < Server: Microsoft-IIS/10.0
4 < Strict-Transport-Security: max-age=2592000
4 < X-Powered-By: ASP.NET
4 < Date: Tue, 15 Nov 2022 15:07:48 GMT
[{"checkDetailId":2397,"appId":13999,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T00:00:00","slaintakeDate":"2022-11-15T00:00:00","amount":1060.0000,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T10:07:48.77","modifiedBy":null,"modifiedDate":null}]
882
Then status 200
0
883
And def checkDetailId = response[0].checkDetailId
0
884
And print checkDetailId
0
20:37:49.002 [print] 2397
885
* def amount = response[0].amount
0
886
* def underpaidAmount = totalFees-amount
0
888
And print 'underpaidAmount- ',underpaidAmount
0
20:37:49.002 [print] underpaidAmount- 0.0
890
Given path '/internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
891
And header Content-Type = 'application/json; charset=utf-8'
0
892
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
903
* def futureDate = futureDateFunc()
1
904
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
913
* def date = getDate2()
0
915
And header Accept = 'application/json; text/plain;*/*'
0
916
And header authorization = 'Bearer ' + strToken
0
917
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(totalFees)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":'#(licInitialFees)',"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees)',"totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":'#(licAncillaryFees)',"isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
920
When method post
209
20:37:49.004 request:
5 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13999/false
5 > Content-Type: application/json; charset=utf-8
5 > Accept: application/json; text/plain;*/*
5 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
5 > Content-Length: 5068
5 > Host: slaleapqaapi.svam.com
5 > Connection: Keep-Alive
5 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
5 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":13999,"slaintakeDate":"2022-11-15T20:37:49.004Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T20:37:49.004Z","amount":1060.0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-119160","applicationTypeId":1,"appFeesId":0,"appId":13999,"feesRefId":6039,"initialFees":0.0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"30","totalFees":1060.0,"filingFees":"100","ancillaryFees":"0","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T20:37:48.116Z","emailNotificationDetail":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13999,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13999,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13999,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":13999,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13999,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13999,"createdBy":"Tarun Gupta"},"taskId":null}
20:37:49.213 response time in milliseconds: 209
5 < 200
5 < Content-Type: application/json; charset=utf-8
5 < Server: Microsoft-IIS/10.0
5 < Strict-Transport-Security: max-age=2592000
5 < X-Powered-By: ASP.NET
5 < Date: Tue, 15 Nov 2022 15:07:48 GMT
5 < Content-Length: 4
true
921
Then status 200
0
# ********* SAVE Application Details To Save *********************
928
Given path '/internalapi/api/licensing/app/save'
0
929
And header authorization = 'Bearer ' + strToken
0
930
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
931
When method post
259
20:37:49.217 request:
6 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
6 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
6 > Content-Type: application/json; charset=UTF-8
6 > Content-Length: 30721
6 > Host: slaleapqaapi.svam.com
6 > Connection: Keep-Alive
6 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
6 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13999,"formID":1165,"applicationID":"NA-0111-22-119160","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
20:37:49.474 response time in milliseconds: 257
6 < 200
6 < Content-Length: 51
6 < Content-Type: application/json; charset=utf-8
6 < Server: Microsoft-IIS/10.0
6 < Strict-Transport-Security: max-age=2592000
6 < X-Powered-By: ASP.NET
6 < Date: Tue, 15 Nov 2022 15:07:48 GMT
{"appId":13999,"applicationId":"NA-0111-22-119160"}
932
Then status 200
0
935
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
936
And header authorization = 'Bearer ' + strToken
0
937
And header Content-Type = 'application/json; charset=utf-8'
0
938
And header Accept = 'application/json; text/plain;*/*'
0
939
And request ""
0
940
When method get
222
20:37:49.475 request:
7 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/13999
7 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
7 > Content-Type: application/json; charset=utf-8
7 > Accept: application/json; text/plain;*/*
7 > Content-Length: 0
7 > Host: slaleapqaapi.svam.com
7 > Connection: Keep-Alive
7 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
7 > Accept-Encoding: gzip,deflate
20:37:49.696 response time in milliseconds: 221
7 < 200
7 < Content-Type: application/json; charset=utf-8
7 < Server: Microsoft-IIS/10.0
7 < Strict-Transport-Security: max-age=2592000
7 < X-Powered-By: ASP.NET
7 < Date: Tue, 15 Nov 2022 15:07:48 GMT
7 < Content-Length: 660
[{"licenseName":"Restaurant - Beer","applicationId":"NA-0111-22-119160","applicationTypeId":1,"appFeesId":3130,"appId":13999,"feesRefId":6039,"initialFees":0.0,"licensingFees":960.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":100.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
941
Then status 200
0
942
And print response[0].appFeesId
0
20:37:49.696 [print] 3130
943
And def appFeesId1 = response[0].appFeesId
0
944
And def feesRefId1 = response[0].feesRefId
0
945
And print appFeesId1
0
20:37:49.698 [print] 3130
946
And print feesRefId1
0
20:37:49.698 [print] 6039
947
And def applicationTypeId = response[0].applicationTypeId
0
948
And print applicationTypeId
0
20:37:49.698 [print] 1
# ********* Save PAYMENT *********************
951
Given path '/internalapi/api/licensing/fees/details/save/'+appId +'/false'
0
953
* def slaDate = licFeesDate()
1
954
* def slaaDate = licDate()
0
955
* def licInitialFees1 = licInitialFees+''
0
956
And print licInitialFees1
0
20:37:49.699 [print] 0
957
* def renewalFees1 = renewalFees+''
0
958
And print renewalFees1
0
20:37:49.700 [print] 30
959
* def totalFees1 = totalFees+''
0
961
And print totalFees1
0
20:37:49.700 [print] 1060
962
* def licAncillaryFees1 = licAncillaryFees+''
0
963
* def licfilingFees1 = licfilingFees+''
0
965
And header authorization = 'Bearer ' + strToken
0
966
And request {"checks":[{"checkDetailId":'#(checkDetailId)',"appId":'#(appId)',"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":'#(date)',"slaintakeDate":'#(date)',"amount":'#(amount)',"appliedTo":null,"amountUsed":'#(amount)',"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":'#(date)',"modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":'#(licFeesRefId)',"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees1)',"filingFees":'#(licfilingFees1)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(underpaidAmount)',"amountReceived":'#(amount)',"waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":'#(appId)',"checkDetailId":'#(checkDetailId)',"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":'#(amount)',"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
971
When method post
209
20:37:49.701 request:
8 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/13999/false
8 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
8 > Content-Type: application/json; charset=UTF-8
8 > Content-Length: 5458
8 > Host: slaleapqaapi.svam.com
8 > Connection: Keep-Alive
8 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
8 > Accept-Encoding: gzip,deflate
{"checks":[{"checkDetailId":2397,"appId":13999,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T20:37:49.004Z","slaintakeDate":"2022-11-15T20:37:49.004Z","amount":1060.0,"appliedTo":null,"amountUsed":1060.0,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T20:37:49.004Z","modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-119160","applicationTypeId":1,"appFeesId":6039,"appId":13999,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":"1060","filingFees":"100","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":1060.0,"waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":13999,"checkDetailId":2397,"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":1060.0,"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":"2022-11-22T20:37:48.116Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13999,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13999,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13999,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":13999,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":13999,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":13999,"createdBy":"Tarun Gupta"},"taskId":null}
20:37:49.909 response time in milliseconds: 208
8 < 200
8 < Content-Type: application/json; charset=utf-8
8 < Server: Microsoft-IIS/10.0
8 < Strict-Transport-Security: max-age=2592000
8 < X-Powered-By: ASP.NET
8 < Date: Tue, 15 Nov 2022 15:07:49 GMT
8 < Content-Length: 4
true
972
Then status 200
0
973
And print response
0
20:37:49.909 [print] true
# ********* SAVE Application Details To Save *********************
978
Given path '/internalapi/api/licensing/app/save'
0
979
And header authorization = 'Bearer ' + strToken
0
980
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
981
When method post
268
20:37:49.913 request:
9 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
9 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
9 > Content-Type: application/json; charset=UTF-8
9 > Content-Length: 30721
9 > Host: slaleapqaapi.svam.com
9 > Connection: Keep-Alive
9 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
9 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":13999,"formID":1165,"applicationID":"NA-0111-22-119160","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
20:37:50.179 response time in milliseconds: 266
9 < 200
9 < Content-Length: 51
9 < Content-Type: application/json; charset=utf-8
9 < Server: Microsoft-IIS/10.0
9 < Strict-Transport-Security: max-age=2592000
9 < X-Powered-By: ASP.NET
9 < Date: Tue, 15 Nov 2022 15:07:49 GMT
{"appId":13999,"applicationId":"NA-0111-22-119160"}
982
Then status 200
0
983
And def serverResponse = response
0
223
* call read('LicensesCommonMethods.feature@SubmitLicenseAndValidateLicStatus') {expStatus:'Awaiting Review'}
5451
>>
karate.UseCases.LicensesCommonMethods
4925
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Application SUBMIT *********************
1099
Given path '/internalapi/api/licensing/app/submit'
0
1100
And header authorization = 'Bearer ' + strToken
0
1101
And request {"appId":'#(appId)',"wfType":null}
0
1102
When method post
335
20:37:50.708 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/submit
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 29
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"appId":13999,"wfType":null}
20:37:51.042 response time in milliseconds: 333
1 < 200
1 < Content-Length: 123
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:51 GMT
{"success":true,"submittedApps":[{"success":true,"taskId":0,"appId":13999,"applicationId":"NA-0111-22-119160","error":""}]}
1103
Then status 200
0
1104
And def serverResponse = response
0
1105
And match response.success == true
0
1106
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
4587
>>
karate.UseCases.LicensesCommonMethods
2381
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
1
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
2228
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
147
20:37:55.476 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13999
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:37:55.623 response time in milliseconds: 146
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:55 GMT
1 < Content-Length: 215
{"applicationId":"NA-0111-22-119160","submitDate":"2022-11-15T10:07:50.92","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:37:55.623 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
224
* call read('LicensesCommonMethods.feature@AssignApplicationsToExaminer') {}
5004
>>
karate.UseCases.LicensesCommonMethods
2490
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* AssignApplicationsSaveDigestDataToExaminer *********************
1139
Given path '/internalapi/api/licensing/examiner/assignApplicationsToExaminer'
0
1140
And header authorization = 'Bearer ' + strToken
0
1141
And request [{"appId":'#(appId)',"examinerId":1069,"priority":"Normal"}]
0
1142
When method post
246
20:37:58.152 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner/assignApplicationsToExaminer
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 55
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"appId":13999,"examinerId":1069,"priority":"Normal"}]
20:37:58.397 response time in milliseconds: 245
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:07:58 GMT
1 < Content-Length: 5
false
1143
And def serverResponse = response
0
1144
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
2240
>>
karate.UseCases.LicensesCommonMethods
404
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
241
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
160
20:38:00.477 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13999
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:38:00.634 response time in milliseconds: 156
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:00 GMT
1 < Content-Length: 215
{"applicationId":"NA-0111-22-119160","submitDate":"2022-11-15T10:07:50.92","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:38:00.634 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
0
225
* call read('LicensesCommonMethods.feature@ExaminerReviewApprovalToLB') {}
1580
>>
karate.UseCases.LicensesCommonMethods
1088
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Examiner Review Approval to LB *********************
1149
* def summisionDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS");
var date = new java.util.Date();
return sdf.format(date);
}
1157
Given path '/internalapi/api/licensing/examiner-review/SaveNewLicense'
0
1158
* def formatedSumbitDate = summisionDate()
0
1159
And header authorization = 'Bearer ' + strToken
0
1160
And header current-wfroleid = 4
0
1161
And request {"isFingerPrintsApproved":false,"isFingerPrintsRequired":false,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"application":{"applicationCategory":1,"appId":'#(appId)',"applicationId":'#(ApplicationId)',"licePermitTypeId":null,"applicationTypeId":1,"formVersionId":1231,"formId":'#(formId)',"legalName":'#(legalName)',"submitDate":'#(formatedSumbitDate)',"isGISRequired":null,"licenseDescription":'#(description)',"recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":'#(CityName)',"priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Awaiting Review","taskId":1026,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":null,"memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":1069,"appId":'#(appId)',"examinerId":1069,"name":null,"assignDate":'#(formatedSumbitDate)',"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":'#(mainLicensePermitTypeId)',"type":"1","category":"1","product":'#(productName)',"class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":'#(mainLicensePermitTypeId)',"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":'#(formatedSumbitDate)'},"appId":'#(appId)',"notificationTypeId":2028,"applicationType":1,"decisionType":{"name":"Send to Licensing Board","value":2},"emailNotificationModel":{"applicant":{},"attorney":{},"communityBoard":{},"other":{}},"hasErrors":[],"taskId":1026,"newComments":"","recommendedDecisionId":null};
0
1162
When method post
283
20:38:01.122 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner-review/SaveNewLicense
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
1 > current-wfroleid: 4
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 3055
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"isFingerPrintsApproved":false,"isFingerPrintsRequired":false,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"application":{"applicationCategory":1,"appId":13999,"applicationId":"NA-0111-22-119160","licePermitTypeId":null,"applicationTypeId":1,"formVersionId":1231,"formId":1165,"legalName":"Automation20221115203745Automation","submitDate":"2022-11-15T20:38:01.122","isGISRequired":null,"licenseDescription":"Restaurant-Beer","recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":"New York","priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Awaiting Review","taskId":1026,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":null,"memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":1069,"appId":13999,"examinerId":1069,"name":null,"assignDate":"2022-11-15T20:38:01.122","isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":40,"type":"1","category":"1","product":"RestaurantBeer","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":40,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":"2022-11-15T20:38:01.122"},"appId":13999,"notificationTypeId":2028,"applicationType":1,"decisionType":{"name":"Send to Licensing Board","value":2},"emailNotificationModel":{"applicant":{},"attorney":{},"communityBoard":{},"other":{}},"hasErrors":[],"taskId":1026,"newComments":"","recommendedDecisionId":null}
20:38:01.405 response time in milliseconds: 283
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:00 GMT
1 < Content-Length: 4
true
1163
Then status 200
0
1164
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
802
>>
karate.UseCases.LicensesCommonMethods
359
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
208
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
148
20:38:02.048 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13999
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:38:02.194 response time in milliseconds: 146
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:02 GMT
1 < Content-Length: 215
{"applicationId":"NA-0111-22-119160","submitDate":"2022-11-15T10:07:50.92","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:38:02.195 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
226
* call read('LicensesCommonMethods.feature@LBClaimingQueue') {}
1444
>>
karate.UseCases.LicensesCommonMethods
939
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* LB Claiming Queue *********************
1249
Given path 'internalapi/api/licensing/claiming-queue/add/'+appId +'/1069'
0
1250
And header authorization = 'Bearer ' + strToken
0
1251
And header current-wfroleid = 5
0
1252
And request {}
0
1253
When method post
175
20:38:02.726 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/claiming-queue/add/13999/1069
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
1 > current-wfroleid: 5
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:38:02.901 response time in milliseconds: 175
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:02 GMT
1 < Content-Length: 4
true
1254
Then status 200
0
1255
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
760
>>
karate.UseCases.LicensesCommonMethods
284
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
132
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
149
20:38:03.502 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13999
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:38:03.650 response time in milliseconds: 148
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:03 GMT
1 < Content-Length: 215
{"applicationId":"NA-0111-22-119160","submitDate":"2022-11-15T10:07:50.92","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:38:03.651 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
227
* def expirationDate = fundDueDateFunc(10)
1
228
* call read('LicensesCommonMethods.feature@LBApprovalWithDueDate') {approvalName:'Approved', expStatus:'Approved'}
1719
>>
karate.UseCases.LicensesCommonMethods
1276
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* LB Approval *********************
2346
Given path '/internalapi/api/licensing/search/GetEmailNotificationByAppIdAndNotificationTypeId/'+appId+'/0'
0
2347
And header authorization = 'Bearer ' + strToken
0
2348
And request ''
0
2349
When method get
234
20:38:04.106 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/search/GetEmailNotificationByAppIdAndNotificationTypeId/13999/0
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
1 > Content-Type: text/plain; charset=UTF-8
1 > Content-Length: 0
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
20:38:04.339 response time in milliseconds: 233
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:03 GMT
1 < Content-Length: 1959
{"applicant":{"communicationId":25392,"email":"automation@svam.com","appId":13999,"emailContactTypeId":1,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":25395,"email":"sbandi@svam.com","appId":13999,"emailContactTypeId":2,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}}
2350
Then status 200
0
2351
And def serverResponse = response
0
2352
* def applicantCommId = serverResponse.applicant.communicationId
0
2353
* def attorneyCommId = serverResponse.attorney.communicationId
0
2355
Given path '/internalapi/api/licensing/new-license/saveDecision'
0
2356
And header authorization = 'Bearer ' + strToken
0
2357
And header current-wfroleid = 5
0
2358
* def getSelectedDecisionFunc =
0
function(value1){
if (value1 == 'Approved'){
return 1;
}
else if (value1 == 'Disapproved'){
return 2;
}
else if (value1 == 'Disapproval to Counsel'){
return 3;
}else if (value1 == 'Withdrawal'){
return 4;
}else if (value1 == 'Conditionally Approved'){
return 5;
}else if (value1 == 'FB Decision Required'){
return 6;
}else if (value1 == 'Return to Examiner'){
return 7;
}
else {
return 1;
}
}
2384
* def selectedDecisionCode = getSelectedDecisionFunc(approvalName)
5
2385
And print selectedDecisionCode
0
20:38:04.345 [print] 1
2386
And request {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"masterFileData":[],"combinedCraftData":[],"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":'#(approvalName)',"value":'#(selectedDecisionCode)'},"emailNotificationModel":{"applicant":{},"attorney":{},"other":{"email":""}},"hasErrors":[],"taskId":1151,"newComments":"","approval":{"isDefineStipulations":false,"selectInput":{"fromFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":'#(effectiveDate)',"expirationDate":'#(expirationDate)',"stipulations":[],"descriptions":[]}}
0
2388
When method post
277
20:38:04.346 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/new-license/saveDecision
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
2 > current-wfroleid: 5
2 > Content-Type: application/json; charset=UTF-8
2 > Content-Length: 2479
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"masterFileData":[],"combinedCraftData":[],"appId":13999,"applicationType":1,"applicationId":"NA-0111-22-119160","legalName":"Automation20221115203745Automation","statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{},"attorney":{},"other":{"email":""}},"hasErrors":[],"taskId":1151,"newComments":"","approval":{"isDefineStipulations":false,"selectInput":{"fromFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":"2022-11-15","expirationDate":"2022-11-25T20:38:03.665Z","stipulations":[],"descriptions":[]}}
20:38:04.622 response time in milliseconds: 276
2 < 200
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:08:03 GMT
2 < Content-Length: 4
true
2389
Then status 200
0
2390
And def serverResponse = response
0
2391
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
758
>>
karate.UseCases.LicensesCommonMethods
300
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
143
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
154
20:38:05.214 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/13999
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:38:05.369 response time in milliseconds: 154
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:05 GMT
1 < Content-Length: 208
{"applicationId":"NA-0111-22-119160","submitDate":"2022-11-15T10:07:50.92","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Approved"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:38:05.369 [print] Approved
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
229
* call read('LicensesCommonMethods.feature@ValidateLicenseApplicationStatus') {LicAppStatus:'Approved'}
728
>>
karate.UseCases.LicensesCommonMethods
233
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1326
Given path 'internalapi/api/GenericSearch/SearchLicense'
0
1327
And header Content-Type = 'application/json; charset=utf-8'
0
1328
And header Accept = 'application/json; text/plain;*/*'
0
1329
And header authorization = 'Bearer ' + strToken
0
1330
And params {page:1,pageSize:10}
1
1331
And request [{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":'#(ApplicationId)'}]
0
1332
When method post
226
20:38:05.882 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/GenericSearch/SearchLicense?pageSize=10&page=1
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
1 > Content-Length: 96
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":"NA-0111-22-119160"}]
20:38:06.105 response time in milliseconds: 223
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:05 GMT
1 < Content-Length: 684
{"data":[{"acaId":13999,"acaType":"application","applicationLicenseId":"0111-22-129141","legacySerialNo":null,"legalName":"Automation20221115203745Automation","dba":null,"licenseDescription":"Restaurant-Beer","expirationDate":"2022-11-25T00:00:00","examinerAssigned":"Tarun Gupta","premisesAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","applicantAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","feinSsn":"","formId":1165,"applicationId":"NA-0111-22-119160","licenseId":"0111-22-129141","wfRoleId":2,"applicationStatus":"Approved","licenseStatus":"Active"}],"total":1,"aggregateResults":null,"errors":null}
1333
Then status 200
0
1334
And print response
1
20:38:06.107 [print] {
"data": [
{
"acaId": 13999,
"acaType": "application",
"applicationLicenseId": "0111-22-129141",
"legacySerialNo": null,
"legalName": "Automation20221115203745Automation",
"dba": null,
"licenseDescription": "Restaurant-Beer",
"expirationDate": "2022-11-25T00:00:00",
"examinerAssigned": "Tarun Gupta",
"premisesAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"applicantAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"feinSsn": "",
"formId": 1165,
"applicationId": "NA-0111-22-119160",
"licenseId": "0111-22-129141",
"wfRoleId": 2,
"applicationStatus": "Approved",
"licenseStatus": "Active"
}
],
"total": 1,
"aggregateResults": null,
"errors": null
}
1335
* match response.data[0].applicationStatus == '#(LicAppStatus)'
1
231
* call read('LicensesCommonMethods.feature@GetLicenseId') {}
728
>>
karate.UseCases.LicensesCommonMethods
158
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
3212
Given path '/internalapi/api/licensing/LBDecision/getLicenseByAppId/' + appId +'/-1'
0
3213
And header authorization = 'Bearer ' + strToken
0
3214
* def EffectiveDate = EffDate()
0
3215
And request {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"masterFileData":[],"combinedCraftData":[],"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":null,"statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{},"attorney":{},"other":{"email":""}},"hasErrors":[],"taskId":1151,"newComments":"","approval":{"isDefineStipulations":false,"selectInput":{"fromFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":'#(EffectiveDate)',"expirationDate":'#(expiryDate)',"stipulations":[],"descriptions":[]}}
1
3216
When method get
152
20:38:06.678 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/LBDecision/getLicenseByAppId/13999/-1
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 2436
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"masterFileData":[],"combinedCraftData":[],"appId":13999,"applicationType":1,"applicationId":"NA-0111-22-119160","legalName":null,"statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{},"attorney":{},"other":{"email":""}},"hasErrors":[],"taskId":1151,"newComments":"","approval":{"isDefineStipulations":false,"selectInput":{"fromFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":"2022-11-15","expirationDate":"#(expiryDate)","stipulations":[],"descriptions":[]}}
20:38:06.830 response time in milliseconds: 151
1 < 200
1 < Content-Length: 2853
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:06 GMT
{"license":{"licId":1490,"applicationId":null,"licenseId":"0111-22-129141","licensePermitId":null,"licePermitTypeId":40,"appId":13999,"legacySerialNo":null,"issueDate":null,"expiryDate":"2025-10-31T00:00:00","effectiveDate":"2022-11-15T00:00:00","seasonalStartDate":null,"seasonalEndDate":null,"safeKeepingExpiryDate":null,"status":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"extTempPermitEnabled":false,"application":{"applicationCategory":null,"appId":null,"applicationId":null,"licePermitTypeId":null,"applicationTypeId":null,"formVersionId":null,"formId":null,"legalName":null,"submitDate":null,"isGISRequired":null,"licenseDescription":null,"recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":null,"priority":null,"expirationDate":null,"appStatusId":null,"taskStatus":null,"taskId":null,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":null,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":null,"memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":null,"isNotQualified":null,"eventDate":null,"appStatus":{"appStatusId":0,"statusDescription":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":null,"assignAppToLB":null,"licePermitType":null,"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":0,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"clericalName":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"isFairOrFestival":false,"isShowEffExpDateOnLBReview":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"options":null,"emailNotificationModel":null,"taskOptionsListNested":null,"days":0,"permit":null,"licPermitType":null,"licensePermitMapping":null,"licenseFee":null,"accountBalance":null,"licenseDescription":null,"isSeasonal":false,"isSummerSeasonal":false,"newExpiryDate":null,"amountDue":null,"originalLicenseFee":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"wfRoleId":0},"person":[],"totalRecord":0,"apps":[]}
3217
Then status 200
0
3218
And def serverResponse = response
0
3219
And print serverResponse
1
20:38:06.832 [print] {
"license": {
"licId": 1490,
"applicationId": null,
"licenseId": "0111-22-129141",
"licensePermitId": null,
"licePermitTypeId": 40,
"appId": 13999,
"legacySerialNo": null,
"issueDate": null,
"expiryDate": "2025-10-31T00:00:00",
"effectiveDate": "2022-11-15T00:00:00",
"seasonalStartDate": null,
"seasonalEndDate": null,
"safeKeepingExpiryDate": null,
"status": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null,
"extTempPermitEnabled": false,
"application": {
"applicationCategory": null,
"appId": null,
"applicationId": null,
"licePermitTypeId": null,
"applicationTypeId": null,
"formVersionId": null,
"formId": null,
"legalName": null,
"submitDate": null,
"isGISRequired": null,
"licenseDescription": null,
"recommendedDecisionId": null,
"status500": null,
"isApplicableForPDLetter": false,
"countyName": null,
"priority": null,
"expirationDate": null,
"appStatusId": null,
"taskStatus": null,
"taskId": null,
"currentWfstatus": null,
"communityBoard": null,
"isLicenseApplication": null,
"currentDueDate": null,
"isFinalDeficiency": null,
"isHighlyDeficient": null,
"isAllDeficienciesMet": null,
"pastDueDate": null,
"memo": null,
"isOneTimePermit": null,
"dueDateAction": null,
"isDisapprovedForCause": null,
"isNotQualified": null,
"eventDate": null,
"appStatus": {
"appStatusId": 0,
"statusDescription": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null
},
"applicationType": null,
"assignAppExaminer": null,
"assignAppToLB": null,
"licePermitType": null,
"assoApplicationList": [
],
"isTempPermit": null,
"isTempOrLiq": false,
"licPermitTypeId": 0,
"isAssociatedLicense": null,
"effectiveDate": null,
"assignedUserId": null,
"amendmentTypeId": null,
"amendmentType": null,
"disapprovedDate": null,
"condApprovedDate": null,
"addressId": null,
"isCaseOpen": null,
"isClosed": null,
"isCaseOpenSameAddress": null,
"isSpecialEventPlusFour": null,
"isSpecialEventInsideFiveBoroughs": null,
"licStatus": null,
"createdBy": null,
"clericalName": null,
"licenseId": null,
"address": null,
"isNybeApp": false,
"isHearingCompleted": null,
"does500FtHearingExist": null,
"parentAppStatus": null,
"premisesAppCount": 0,
"statusDescription": null,
"eventAddress": null,
"isFairOrFestival": false,
"isShowEffExpDateOnLBReview": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
"options": null,
"emailNotificationModel": null,
"taskOptionsListNested": null,
"days": 0,
"permit": null,
"licPermitType": null,
"licensePermitMapping": null,
"licenseFee": null,
"accountBalance": null,
"licenseDescription": null,
"isSeasonal": false,
"isSummerSeasonal": false,
"newExpiryDate": null,
"amountDue": null,
"originalLicenseFee": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"wfRoleId": 0
},
"person": [
],
"totalRecord": 0,
"apps": [
]
}
3220
And def licId = serverResponse.license.licId
0
3221
And def licenseId = serverResponse.license.licenseId
0
3222
And def ActEffDate = serverResponse.license.seasonalStartDate
0
3223
And def ActExpDate = serverResponse.license.expiryDate
0
3224
And print serverResponse
1
20:38:06.833 [print] {
"license": {
"licId": 1490,
"applicationId": null,
"licenseId": "0111-22-129141",
"licensePermitId": null,
"licePermitTypeId": 40,
"appId": 13999,
"legacySerialNo": null,
"issueDate": null,
"expiryDate": "2025-10-31T00:00:00",
"effectiveDate": "2022-11-15T00:00:00",
"seasonalStartDate": null,
"seasonalEndDate": null,
"safeKeepingExpiryDate": null,
"status": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null,
"extTempPermitEnabled": false,
"application": {
"applicationCategory": null,
"appId": null,
"applicationId": null,
"licePermitTypeId": null,
"applicationTypeId": null,
"formVersionId": null,
"formId": null,
"legalName": null,
"submitDate": null,
"isGISRequired": null,
"licenseDescription": null,
"recommendedDecisionId": null,
"status500": null,
"isApplicableForPDLetter": false,
"countyName": null,
"priority": null,
"expirationDate": null,
"appStatusId": null,
"taskStatus": null,
"taskId": null,
"currentWfstatus": null,
"communityBoard": null,
"isLicenseApplication": null,
"currentDueDate": null,
"isFinalDeficiency": null,
"isHighlyDeficient": null,
"isAllDeficienciesMet": null,
"pastDueDate": null,
"memo": null,
"isOneTimePermit": null,
"dueDateAction": null,
"isDisapprovedForCause": null,
"isNotQualified": null,
"eventDate": null,
"appStatus": {
"appStatusId": 0,
"statusDescription": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null
},
"applicationType": null,
"assignAppExaminer": null,
"assignAppToLB": null,
"licePermitType": null,
"assoApplicationList": [
],
"isTempPermit": null,
"isTempOrLiq": false,
"licPermitTypeId": 0,
"isAssociatedLicense": null,
"effectiveDate": null,
"assignedUserId": null,
"amendmentTypeId": null,
"amendmentType": null,
"disapprovedDate": null,
"condApprovedDate": null,
"addressId": null,
"isCaseOpen": null,
"isClosed": null,
"isCaseOpenSameAddress": null,
"isSpecialEventPlusFour": null,
"isSpecialEventInsideFiveBoroughs": null,
"licStatus": null,
"createdBy": null,
"clericalName": null,
"licenseId": null,
"address": null,
"isNybeApp": false,
"isHearingCompleted": null,
"does500FtHearingExist": null,
"parentAppStatus": null,
"premisesAppCount": 0,
"statusDescription": null,
"eventAddress": null,
"isFairOrFestival": false,
"isShowEffExpDateOnLBReview": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
"options": null,
"emailNotificationModel": null,
"taskOptionsListNested": null,
"days": 0,
"permit": null,
"licPermitType": null,
"licensePermitMapping": null,
"licenseFee": null,
"accountBalance": null,
"licenseDescription": null,
"isSeasonal": false,
"isSummerSeasonal": false,
"newExpiryDate": null,
"amountDue": null,
"originalLicenseFee": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"wfRoleId": 0
},
"person": [
],
"totalRecord": 0,
"apps": [
]
}
3225
And print 'licId : ' , licId
0
20:38:06.834 [print] licId : 1490
3226
And print 'licenseId : ' , licenseId
0
20:38:06.834 [print] licenseId : 0111-22-129141
3227
And match licId != []
0
3228
And match licenseId != []
0
232
And print licenseId
0
20:38:06.840 [print] 0111-22-129141
233
* def notQualifiedApplication = false
0
234
* def notQlfdAppMessage = ''
0
235
* def LicensePermitId = licenseId
0
236
* call read('RenewalCommonMethods.feature@IntakeRenewalLicense') {}
3192
>>
karate.UseCases.RenewalCommonMethods
2642
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def date = getDate2()
0
17
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
26
* def effectiveDate = effectiveDateFunc()
0
30
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
39
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
50
* def fundDueDate = fundDueDateFunc(7)
1
53
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
64
* def conditionDefinedDateFunction =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.00");
var date = new java.util.Date();
return sdf.format(date);
}
75
* def conditionDefinedDate = conditionDefinedDateFunction()
0
76
* def conditionDefinedDateFunctionwithAddedDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var date = new java.util.Date();
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
88
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
99
* def getRenewalReviewFunc =
0
function(reviewType){
if (reviewType == 'Send to Licensing Board'){
return 2;
}
else if (reviewType == 'Send to Full Board Preview Team'){
return 3;
}
else if (reviewType == 'Define Deficiencies'){
return 1;
}
}
169
Given path '/internalapi/api/licensing/search/searchLicensesAndPermits/'
0
170
And header Content-Type = 'application/json; charset=utf-8'
0
172
And header Accept = 'application/json; text/plain;*/*'
0
173
And header authorization = 'Bearer ' + strToken
0
176
And request {"WfTaskIdList":[],"LicenseStatusList":[19,45,40],"ShowLicensesAndPermits":true,"Status":null,"isTempPermit":null,"ApplicationId":null,"LicensePermitId":'#(licenseId)',"LegalName":null,"FEIN":null,"applyFor":""}
0
177
When method POST
160
20:38:07.379 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/search/searchLicensesAndPermits
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
1 > Content-Length: 213
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"WfTaskIdList":[],"LicenseStatusList":[19,45,40],"ShowLicensesAndPermits":true,"Status":null,"isTempPermit":null,"ApplicationId":null,"LicensePermitId":"0111-22-129141","LegalName":null,"FEIN":null,"applyFor":""}
20:38:07.539 response time in milliseconds: 159
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:06 GMT
1 < Content-Length: 1291
{"licenses":[{"lpId":1490,"licensePermitId":"0111-22-129141","licPermitTypeId":40,"isAccociatedLicense":false,"appId":13999,"mainAppId":13999,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-11-15T00:00:00","expiryDate":"2022-11-25T00:00:00","effectiveDate":"2022-11-15T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-11-15T10:08:04.517","modifiedDate":null,"submitDate":"2022-11-15T10:07:50.92","description":"Restaurant-Beer","county":"New York","legalName":"Automation20221115203745Automation","fein":"","formId":1165,"isRenewalRequird":true,"dba":null,"associatePermits":[],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":null,"county":"New York","zipCode":"12345","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null}],"totalRecord":1}
178
Then status 200
0
179
* def licPermitTypeId = response.licenses[0].licPermitTypeId
0
180
* def lpId = response.licenses[0].lpId
0
181
* def effectiveDate = response.licenses[0].effectiveDate
0
182
* def expiryDate = response.licenses[0].expiryDate
0
183
* def legalName = response.licenses[0].legalName
0
184
* def licAppId = response.licenses[0].appId
0
185
* def submitDate = response.licenses[0].submitDate
0
186
* call read('LicensesCommonMethods.feature@GetCountyList') {}
2072
>>
karate.UseCases.LicensesCommonMethods
469
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
1
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
3
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
1
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
2
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
2
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
117
Given path '/internalapi/api/reference'
0
118
* def dbSts = db.cleanHeap()
318
119
And header authorization = 'Bearer ' + strToken
0
120
And header Content-Type = 'application/json;charset=utf-8'
0
121
And header Accept = 'text/plain'
0
# * def query = {name:countyzone&onlyActives:true}
123
And params {name:countyzone,onlyActives:true}
0
#And param onlyActives='true'
125
And request {}
0
126
When method get
140
20:38:09.465 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/reference?name=countyzone&onlyActives=true
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
1 > Content-Type: application/json;charset=utf-8
1 > Accept: text/plain
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:38:09.604 response time in milliseconds: 139
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:09 GMT
1 < Content-Length: 11712
{"values":[{"CountyId":1,"County":"New York","ShortName":"NEW","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T00:00:00","ModifiedBy":"esandoval","ModifiedDate":"2020-11-10T11:30:56.047"},{"CountyId":2,"County":"Kings","ShortName":"KING","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":3,"County":"Bronx","ShortName":"BRON","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":4,"County":"Queens","ShortName":"QUEE","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":5,"County":"Richmond","ShortName":"RICH","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":6,"County":"Nassau","ShortName":"NASS","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":7,"County":"Suffolk","ShortName":"SUFF","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":8,"County":"Westchester","ShortName":"WEST","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":9,"County":"Orange","ShortName":"ORAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":10,"County":"Putnam","ShortName":"PUTN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":11,"County":"Rockland","ShortName":"ROCK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":12,"County":"Albany","ShortName":"ALBA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":13,"County":"Clinton","ShortName":"CLIN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":14,"County":"Columbia","ShortName":"COLU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":15,"County":"Dutchess","ShortName":"DUTC","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":16,"County":"Essex","ShortName":"ESSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":17,"County":"Franklin","ShortName":"FRAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":18,"County":"Fulton","ShortName":"FULT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":19,"County":"Greene","ShortName":"GREE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":20,"County":"Hamilton","ShortName":"HAMI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":21,"County":"Montgomery","ShortName":"MONT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":22,"County":"Rensselaer","ShortName":"RENS","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":23,"County":"Saratoga","ShortName":"SARA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":24,"County":"Schenectady","ShortName":"SCHE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":25,"County":"Schoharie","ShortName":"SCHO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":26,"County":"Sullivan","ShortName":"SULL","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":27,"County":"Ulster","ShortName":"ULST","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":28,"County":"Warren","ShortName":"WARR","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":29,"County":"Washington","ShortName":"WASH","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":30,"County":"Allegany","ShortName":"ALLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":31,"County":"Cattaraugus","ShortName":"CATT","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":32,"County":"Chautauqua","ShortName":"CHAU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":33,"County":"Chemung","ShortName":"CHEM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":34,"County":"Erie","ShortName":"ERIE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":35,"County":"Genesee","ShortName":"GENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":36,"County":"Livingston","ShortName":"LIVI","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":37,"County":"Monroe","ShortName":"MONR","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":38,"County":"Niagara","ShortName":"NIAG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":39,"County":"Ontario","ShortName":"ONTA","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":40,"County":"Orleans","ShortName":"ORLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":41,"County":"Schuyler","ShortName":"SCHU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":42,"County":"Seneca","ShortName":"SENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":43,"County":"Steuben","ShortName":"STEU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":44,"County":"Wayne","ShortName":"WAYN","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":45,"County":"Wyoming","ShortName":"WYOM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":46,"County":"Yates","ShortName":"YATE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":47,"County":"Broome","ShortName":"BROO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":48,"County":"Chenango","ShortName":"CHEN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":49,"County":"Cortland","ShortName":"CORT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":50,"County":"Delaware","ShortName":"DELA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":51,"County":"Herkimer","ShortName":"HERK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":52,"County":"Jefferson","ShortName":"JEFF","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":53,"County":"Lewis","ShortName":"LEWI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":54,"County":"Madison","ShortName":"MADI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":55,"County":"Oneida","ShortName":"ONEI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":56,"County":"Onondaga","ShortName":"ONON","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":57,"County":"Oswego","ShortName":"OSWE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":58,"County":"Otsego","ShortName":"OTSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":59,"County":"St. Lawrence","ShortName":"ST L","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":60,"County":"Cayuga","ShortName":"CAYU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":61,"County":"Tioga","ShortName":"TIOG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":62,"County":"Tompkins","ShortName":"TOMP","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.6","ModifiedBy":null,"ModifiedDate":null}],"name":"countyzone","schema":[{"columnName":"CountyId","dataType":"int","maxLenght":null,"isRequired":true},{"columnName":"County","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ShortName","dataType":"nvarchar","maxLenght":10,"isRequired":false},{"columnName":"ZoneNo","dataType":"int","maxLenght":null,"isRequired":false},{"columnName":"IsActive","dataType":"bit","maxLenght":null,"isRequired":false},{"columnName":"CreatedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"CreatedDate","dataType":"datetime","maxLenght":null,"isRequired":false},{"columnName":"ModifiedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ModifiedDate","dataType":"datetime","maxLenght":null,"isRequired":false}]}
127
* configure continueOnStepFailure = true
1
128
Then status 200
0
129
And def values = response.values
0
130
* configure continueOnStepFailure = true
0
187
* def countyData = karate.jsonPath(values, "$[?(@.CountyId == '" + CountyId + "')]")
1
188
* def countyZone = countyData[0].ZoneNo
0
189
And print countyZone
0
20:38:09.613 [print] 1
190
Given path '/internalapi/api/licensing/renewal/save'
0
191
* def dbSts = db.cleanHeap()
244
192
And header authorization = 'Bearer ' + strToken
0
193
And header Content-Type = 'application/json; charset=utf-8'
0
194
And header Accept = 'application/json; text/plain;*/*'
0
195
And configure continueOnStepFailure = true
0
196
And request {"mainLicenseId":'#(licenseId)',"associated":[],"notQualifiedApplication":'#(notQualifiedApplication)',"NotQualifiedComments":'#(notQlfdAppMessage)'}
0
197
When method Post
160
20:38:09.859 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/renewal/save
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > Content-Length: 108
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"mainLicenseId":"0111-22-129141","associated":[],"notQualifiedApplication":false,"NotQualifiedComments":""}
20:38:10.018 response time in milliseconds: 159
2 < 200
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:08:09 GMT
2 < Content-Length: 170
[{"appId":14000,"formId":1167,"childAppId":null,"mainApplicationId":"RE-22-106380-01","childApplicationId":null,"licensePermitTypeId":40,"description":"Restaurant-Beer"}]
198
* configure continueOnStepFailure = true
0
199
Then status 200
0
200
* def description = response[0].description
0
201
* def appId = response[0].appId
0
202
* def formId = response[0].formId
0
203
* def ApplicationId = response[0].mainApplicationId
0
204
And print ApplicationId
0
20:38:10.019 [print] RE-22-106380-01
205
And match ApplicationId contains 'RE-'
0
207
* def currentYear = '-'+getYearFunc()+'-'
1
208
And match ApplicationId contains currentYear
0
237
* call read('LicensesCommonMethods.feature@FillAndSaveApplicantInformationPage') {}
820
>>
karate.UseCases.LicensesCommonMethods
180
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
700
* def getDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
709
Given path '/internalapi/api/licensing/app/static/applicantinfo/save/'+appId
0
710
And header Content-Type = 'application/json; charset=utf-8'
0
712
* def autoFirstName = firstName + getDate()
0
713
* def legalName = autoFirstName + lastName
0
714
And header Accept = 'application/json; text/plain;*/*'
0
715
And header authorization = 'Bearer ' + strToken
0
716
And request {"businessInfo":{"website":null,"businessEntity":{"individualOrganization":'#(indOrgCode)',"corporateStructure":'#(CorporateStructureDropDownCode)',"firstName":'#(autoFirstName)',"lastName":'#(lastName)',"middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":'#(legalName)',"id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":'#(IndOrgSelectionDropDown)',"corporateStructureText":'#(CorporateStructureDropDown)',"isIndividual":'#(isIndStatus)'},"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"2","phoneTypeText":"Office","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
0
717
When method post
177
20:38:10.670 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/applicantinfo/save/14000
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
1 > Content-Length: 2167
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"businessInfo":{"website":null,"businessEntity":{"individualOrganization":1,"corporateStructure":1,"firstName":"Automation20221115203810","lastName":"Automation","middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":"Automation20221115203810Automation","id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":"Individual","corporateStructureText":"Individual","isIndividual":true},"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"2","phoneTypeText":"Office","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
20:38:10.846 response time in milliseconds: 176
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:10 GMT
1 < Content-Length: 2187
{"businessInfo":{"id":0,"website":null,"isLicensed":true,"isAssociated":false,"businessEntity":{"id":0,"individualOrganization":"1","corporateStructure":1,"isEmployeeForSoleProprietor":null,"firstName":"Automation20221115203810","lastName":"Automation","middleName":null,"ssn":"","fein":"","legalName":"Automation20221115203810Automation","suffix":"1","corporateStructureText":"Individual","individualOrganizationText":"Individual","isIndividual":true},"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":0,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":0,"phoneType":3,"countryCode":"+91","phone":"999-999-9999","phoneExtension":"1234"}]}},"premisesInfo":{"id":0,"dba":null,"countyId":0,"countyName":null,"isDbaSearched":null,"isPremisesRequired":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":0,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":0,"phoneType":2,"countryCode":"+91","phone":"999-999-9999","phoneExtension":"1234"}]}},"applicantDetail":{"id":0,"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"isPhysicalChange":null,"applicantStatement":{"id":0,"nameOfApplicant":null,"title":null,"signature":null,"date":null}}}
718
Then status 200
0
239
* call read('RenewalCommonMethods.feature@SaveAssociatedPrincipal') {}
1058
>>
karate.UseCases.RenewalCommonMethods
844
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def date = getDate2()
0
17
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
26
* def effectiveDate = effectiveDateFunc()
0
30
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
39
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
50
* def fundDueDate = fundDueDateFunc(7)
1
53
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
64
* def conditionDefinedDateFunction =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.00");
var date = new java.util.Date();
return sdf.format(date);
}
75
* def conditionDefinedDate = conditionDefinedDateFunction()
0
76
* def conditionDefinedDateFunctionwithAddedDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var date = new java.util.Date();
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
88
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
99
* def getRenewalReviewFunc =
0
function(reviewType){
if (reviewType == 'Send to Licensing Board'){
return 2;
}
else if (reviewType == 'Send to Full Board Preview Team'){
return 3;
}
else if (reviewType == 'Define Deficiencies'){
return 1;
}
}
464
Given path '/internalapi/api/licensing/app/static/principal/'+appId
0
466
And header Content-Type = 'application/json; charset=utf-8'
0
467
And header Accept = 'application/json; text/plain;*/*'
0
468
And header authorization = 'Bearer ' + strToken
0
469
And request {}
0
470
When method get
678
20:38:11.062 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/principal/14000
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:38:11.740 response time in milliseconds: 678
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:10 GMT
1 < Content-Length: 1388
{"entities":[],"principals":[{"principalId":3322,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":true,"isFingerprintsApproved":true,"percentageOfOwners":20.0,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","entities":null,"numberOfShares":"","isSignature":false,"isRemove":false,"date":"2022-11-15T00:00:00","convictedOfCrime":"1","title":"15","isLicensed":true,"isAssociated":true,"person":{"personId":5639,"firstName":"Automation20221115203745","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T00:00:00","serialNo":0,"age":0,"choosedEntity":[]},"address":{"addressId":29486,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25394,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}}]}
471
Then status 200
0
472
* def personResponse = response
0
473
* def principalId = personResponse.principals[0].principalId
0
474
* def personId = personResponse.principals[0].person.personId
0
475
* def licFirstName = personResponse.principals[0].person.firstName
0
476
* def licLastName = personResponse.principals[0].person.lastName
0
477
* def licCommID = personResponse.principals[0].communication.id
0
478
* def licEmailID = personResponse.principals[0].communication.email
0
479
* def licAddressId = personResponse.principals[0].address.addressId
0
480
Given path '/internalapi/api/licensing/app/static/principal/save/'+appId
0
482
And header Content-Type = 'application/json; charset=utf-8'
0
483
* def getDate1 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
492
* def prncipalName = 'AutoRenewal'+getDate1()
1
494
And header Accept = 'application/json; text/plain;*/*'
0
495
And header authorization = 'Bearer ' + strToken
0
498
And request {"entities":[],"principals":[{"principalId":'#(principalId)',"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":null,"isFingerprintsApproved":null,"percentageOfOwners":null,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":true,\"isNewPrincipal\":false}","entities":null,"numberOfShares":"","isSignature":null,"isRemove":false,"date":null,"convictedOfCrime":"","title":"","isLicensed":null,"isAssociated":null,"person":{"personId":'#(personId)',"firstName":'#(licFirstName)',"middleName":"","lastName":'#(licLastName)',"suffix":"","socialSecurityNo":"","birthDate":null,"serialNo":0,"age":null,"choosedEntity":null},"address":{"addressId":'#(licAddressId)',"appId":null,"addressLine1":"","addressLine2":"","city":"","stateId":40,"county":"","zipCode":"","zip4":"","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":'#(licCommID)',"email":'#(licEmailID)',"confirmEmail":'#(licEmailID)',"phones":[]}},{"principalId":0,"convictedOfCrime":"","percentageOfOwners":"","isFingerprintRequired":"","isFingerprintsApproved":"","title":"","numberOfShares":"","isSignature":"","date":"","address":{"addressLine1":"Test Address1","addressLine2":"","stateId":40,"county":"New York","city":"New York","zipCode":"12345","zip4":"1234","country":"United States (US)","stateName":"New York","countryId":229,"zip":"12345"},"person":{"personId":0,"firstName":"Automation","middleName":"","lastName":"Renewal LicPermit","suffix":"","socialSecurityNo":"","birthDate":"","age":"","choosedEntity":null,"ssnFormat":""},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":'#(licEmailID)',"confirmEmail":'#(licEmailID)'},"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
0
499
When method post
162
20:38:11.743 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/principal/save/14000
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
2 > Content-Length: 2220
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"entities":[],"principals":[{"principalId":3322,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":null,"isFingerprintsApproved":null,"percentageOfOwners":null,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":true,\"isNewPrincipal\":false}","entities":null,"numberOfShares":"","isSignature":null,"isRemove":false,"date":null,"convictedOfCrime":"","title":"","isLicensed":null,"isAssociated":null,"person":{"personId":5639,"firstName":"Automation20221115203745","middleName":"","lastName":"AutoLastName","suffix":"","socialSecurityNo":"","birthDate":null,"serialNo":0,"age":null,"choosedEntity":null},"address":{"addressId":29486,"appId":null,"addressLine1":"","addressLine2":"","city":"","stateId":40,"county":"","zipCode":"","zip4":"","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25394,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}},{"principalId":0,"convictedOfCrime":"","percentageOfOwners":"","isFingerprintRequired":"","isFingerprintsApproved":"","title":"","numberOfShares":"","isSignature":"","date":"","address":{"addressLine1":"Test Address1","addressLine2":"","stateId":40,"county":"New York","city":"New York","zipCode":"12345","zip4":"1234","country":"United States (US)","stateName":"New York","countryId":229,"zip":"12345"},"person":{"personId":0,"firstName":"Automation","middleName":"","lastName":"Renewal LicPermit","suffix":"","socialSecurityNo":"","birthDate":"","age":"","choosedEntity":null,"ssnFormat":""},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":"automation@svam.com","confirmEmail":"automation@svam.com"},"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
20:38:11.905 response time in milliseconds: 162
2 < 200
2 < Content-Length: 2326
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:08:11 GMT
{"entities":[],"principals":[{"principalId":3322,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":null,"isFingerprintsApproved":null,"percentageOfOwners":null,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":null,"entities":null,"numberOfShares":"","isSignature":null,"isRemove":false,"date":null,"convictedOfCrime":"","title":"","isLicensed":null,"isAssociated":null,"person":{"personId":5639,"firstName":"Automation20221115203745","middleName":"","lastName":"AutoLastName","suffix":"","socialSecurityNo":"","birthDate":null,"serialNo":0,"age":null,"choosedEntity":[]},"address":{"addressId":29486,"appId":null,"addressLine1":"","addressLine2":"","city":"","stateId":40,"county":"","zipCode":"","zip4":"","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25394,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}},{"principalId":3323,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":null,"isFingerprintsApproved":null,"percentageOfOwners":null,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":null,"entities":null,"numberOfShares":"","isSignature":null,"isRemove":false,"date":null,"convictedOfCrime":"","title":"","isLicensed":null,"isAssociated":null,"person":{"personId":0,"firstName":"Automation","middleName":"","lastName":"Renewal LicPermit","suffix":"","socialSecurityNo":"","birthDate":null,"serialNo":0,"age":null,"choosedEntity":[]},"address":{"addressId":0,"appId":null,"addressLine1":"Test Address1","addressLine2":"","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":0,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}}]}
500
Then status 200
0
240
* call read('RenewalCommonMethods.feature@RenewalLicFillingFee') {amount:40000}
2187
>>
karate.UseCases.RenewalCommonMethods
1949
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def date = getDate2()
1
17
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
26
* def effectiveDate = effectiveDateFunc()
0
30
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
39
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
50
* def fundDueDate = fundDueDateFunc(7)
1
53
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
64
* def conditionDefinedDateFunction =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.00");
var date = new java.util.Date();
return sdf.format(date);
}
75
* def conditionDefinedDate = conditionDefinedDateFunction()
0
76
* def conditionDefinedDateFunctionwithAddedDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var date = new java.util.Date();
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
88
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
99
* def getRenewalReviewFunc =
0
function(reviewType){
if (reviewType == 'Send to Licensing Board'){
return 2;
}
else if (reviewType == 'Send to Full Board Preview Team'){
return 3;
}
else if (reviewType == 'Define Deficiencies'){
return 1;
}
}
673
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
674
* def totalFees = licenseFees + fillingFees
0
675
And print totalFees
0
20:38:12.143 [print] 1060.0
676
And header Content-Type = 'application/json; charset=utf-8'
0
677
And header Accept = 'application/json; text/plain;*/*'
0
678
And header authorization = 'Bearer ' + strToken
0
679
And request {}
0
680
When method get
269
20:38:12.143 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/14000
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:38:12.411 response time in milliseconds: 268
1 < 200
1 < Content-Length: 655
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:11 GMT
[{"licenseName":"Restaurant - Beer","applicationId":"RE-22-106380-01","applicationTypeId":2,"appFeesId":0,"appId":14000,"feesRefId":6039,"initialFees":0.0,"licensingFees":960.00,"amendmentFees":0.0,"renewalFees":30.00,"totalFees":0.0,"filingFees":0.0,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":false,"isBondRequired":true,"bondFee":1000.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
681
Then status 200
0
682
And def serverResponse = response
0
683
* def licTerm = serverResponse[0].term
0
684
* def licFees = serverResponse[0].licensingFees+''
0
685
* def licTermDesc = serverResponse[0].termDesc
0
686
* def licFeesRefId = serverResponse[0].feesRefId
0
688
* def licAncillaryFees = serverResponse[0].ancillaryFees+''
0
689
* def licfilingFees = serverResponse[0].filingFees+''
0
690
* def licInitialFees = serverResponse[0].initialFees
0
# And def totalFees = licInitialFees+licfilingFees+licAncillaryFees
#And print totalFees
697
Given path '/internalapi/api/notification/SaveNotification'
0
699
And header Content-Type = 'application/json; charset=utf-8'
0
700
And header Accept = 'application/json; text/plain;*/*'
0
701
And header authorization = 'Bearer ' + strToken
0
702
And request {"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}
0
703
When method post
176
20:38:12.414 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/notification/SaveNotification
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
2 > Content-Length: 2006
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":14000,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14000,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14000,"createdBy":"Tarun Gupta"}
20:38:12.589 response time in milliseconds: 175
2 < 200
2 < Content-Length: 5
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:08:11 GMT
false
704
Then status 200
0
705
And print response
0
20:38:12.589 [print] false
710
Given path 'internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
711
And header Content-Type = 'application/json; charset=utf-8'
0
712
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
726
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
735
* def date = getDate2()
1
736
* def futureDate = futureDateFunc()
1
737
And header Accept = 'application/json; text/plain;*/*'
0
738
And header authorization = 'Bearer ' + strToken
0
740
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":40000}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees1)',"totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":'#(licTerm)',"termDesc":'#(licTermDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-03-31T00:00:00.000Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
741
When method post
241
20:38:12.593 request:
3 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/14000/false
3 > Content-Type: application/json; charset=utf-8
3 > Accept: application/json; text/plain;*/*
3 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
3 > Content-Length: 5063
3 > Host: slaleapqaapi.svam.com
3 > Connection: Keep-Alive
3 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
3 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":14000,"slaintakeDate":"2022-11-15T20:38:12.590Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T20:38:12.590Z","amount":40000}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"RE-22-106380-01","applicationTypeId":1,"appFeesId":0,"appId":14000,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"30","totalFees":1060.0,"filingFees":"0","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-03-31T00:00:00.000Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":14000,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14000,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14000,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":14000,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14000,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14000,"createdBy":"Tarun Gupta"},"taskId":null}
20:38:12.833 response time in milliseconds: 240
3 < 200
3 < Content-Length: 4
3 < Content-Type: application/json; charset=utf-8
3 < Server: Microsoft-IIS/10.0
3 < Strict-Transport-Security: max-age=2592000
3 < X-Powered-By: ASP.NET
3 < Date: Tue, 15 Nov 2022 15:08:11 GMT
true
742
Then status 200
0
744
Given path 'internalapi/api/licensing/fees/check-payments/get/'+appId
0
745
And header authorization = 'Bearer ' + strToken
0
746
And request {}
0
747
When method get
168
20:38:12.834 request:
4 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/check-payments/get/14000
4 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
4 > Content-Type: application/json; charset=UTF-8
4 > Content-Length: 2
4 > Host: slaleapqaapi.svam.com
4 > Connection: Keep-Alive
4 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
4 > Accept-Encoding: gzip,deflate
{}
20:38:13.001 response time in milliseconds: 167
4 < 200
4 < Content-Type: application/json; charset=utf-8
4 < Server: Microsoft-IIS/10.0
4 < Strict-Transport-Security: max-age=2592000
4 < X-Powered-By: ASP.NET
4 < Date: Tue, 15 Nov 2022 15:08:13 GMT
4 < Content-Length: 442
[{"checkDetailId":2398,"appId":14000,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T00:00:00","slaintakeDate":"2022-11-15T00:00:00","amount":40000.0000,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T10:08:12.84","modifiedBy":null,"modifiedDate":null}]
748
Then status 200
0
749
And def checkDetailId = response[0].checkDetailId
0
750
And print checkDetailId
0
20:38:13.002 [print] 2398
752
Given path '/internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
753
And header Content-Type = 'application/json; charset=utf-8'
0
754
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
765
* def futureDate = futureDateFunc()
1
766
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
775
* def date = getDate2()
0
777
And header Accept = 'application/json; text/plain;*/*'
0
778
And header authorization = 'Bearer ' + strToken
0
779
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(totalFees)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":'#(licInitialFees)',"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees1)',"totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":'#(licAncillaryFees)',"isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(futureDate)',"emailNotificationDetail":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
782
When method post
225
20:38:13.005 request:
5 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/14000/false
5 > Content-Type: application/json; charset=utf-8
5 > Accept: application/json; text/plain;*/*
5 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
5 > Content-Length: 5061
5 > Host: slaleapqaapi.svam.com
5 > Connection: Keep-Alive
5 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
5 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":14000,"slaintakeDate":"2022-11-15T20:38:13.004Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T20:38:13.004Z","amount":1060.0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"RE-22-106380-01","applicationTypeId":1,"appFeesId":0,"appId":14000,"feesRefId":6039,"initialFees":0.0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"30","totalFees":1060.0,"filingFees":"0","ancillaryFees":"0","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-12-15T20:38:13.002Z","emailNotificationDetail":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":14000,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14000,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14000,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":14000,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14000,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14000,"createdBy":"Tarun Gupta"},"taskId":null}
20:38:13.229 response time in milliseconds: 224
5 < 200
5 < Content-Length: 4
5 < Content-Type: application/json; charset=utf-8
5 < Server: Microsoft-IIS/10.0
5 < Strict-Transport-Security: max-age=2592000
5 < X-Powered-By: ASP.NET
5 < Date: Tue, 15 Nov 2022 15:08:13 GMT
true
783
Then status 200
0
# ********* SAVE Application Details To Save *********************
787
Given path '/internalapi/api/licensing/app/save'
0
788
And header authorization = 'Bearer ' + strToken
0
789
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":'#(appId)',"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
790
When method post
343
20:38:13.233 request:
6 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
6 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
6 > Content-Type: application/json; charset=UTF-8
6 > Content-Length: 30720
6 > Host: slaleapqaapi.svam.com
6 > Connection: Keep-Alive
6 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
6 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":14000,"formID":1167,"applicationID":"RE-22-106380-01","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":14000,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
20:38:13.574 response time in milliseconds: 341
6 < 200
6 < Content-Length: 49
6 < Content-Type: application/json; charset=utf-8
6 < Server: Microsoft-IIS/10.0
6 < Strict-Transport-Security: max-age=2592000
6 < X-Powered-By: ASP.NET
6 < Date: Tue, 15 Nov 2022 15:08:13 GMT
{"appId":14000,"applicationId":"RE-22-106380-01"}
791
Then status 200
0
# ********* Save PAYMENT *********************
796
Given path '/internalapi/api/licensing/fees/details/save/'+appId +'/false'
0
797
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
808
* def slaDate = licFeesDate()
1
809
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
821
* def slaaDate = licDate()
0
822
* def licInitialFees1 = licInitialFees+''
0
823
And print licInitialFees1
0
20:38:13.576 [print] 0
824
* def renewalFees1 = renewalFees+''
0
825
And print renewalFees1
0
20:38:13.576 [print] 30
826
* def totalFees1 = totalFees+''
0
828
And print totalFees1
0
20:38:13.576 [print] 1060
829
* def licAncillaryFees1 = licAncillaryFees+''
0
830
* def licfilingFees1 = licfilingFees+''
0
832
And header authorization = 'Bearer ' + strToken
0
833
And request {"checks":[{"checkDetailId":'#(checkDetailId)',"appId":'#(appId)',"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":'#(date)',"slaintakeDate":'#(date)',"amount":40000,"appliedTo":null,"amountUsed":40000,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-03-24T09:43:00.873","modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":'#(licFeesRefId)',"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees1)',"totalFees":'#(totalFees1)',"filingFees":'#(licfilingFees1)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":0,"amountReceived":"40000.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":'#(appId)',"checkDetailId":'#(checkDetailId)',"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":"40000.00","amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":"1970-01-01T00:00:00.000Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
# {"checks":[{"checkDetailId":1622,"appId":5856,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T00:00:00.000Z","slaintakeDate":"2022-09-23T00:00:00.000Z","amount":"100.00","isPaymentFailed":false,"appliedTo":null,"amountUsed":100,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-09-23T13:22:04.11","modifiedBy":null,"modifiedDate":null,"applyClick":true},{"checkDetailId":1623,"appId":5856,"paymentSource":"RDC","checkNo":"2","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T00:00:00.000Z","slaintakeDate":"2022-09-23T00:00:00.000Z","amount":"10.00","isPaymentFailed":false,"appliedTo":null,"amountUsed":10,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-09-23T13:22:04.113","modifiedBy":null,"modifiedDate":null,"applyClick":true}],"appFees":{"appFees":[{"licenseName":"Restaurant - Beer","applicationId":"RE-22-106102-01","applicationTypeId":2,"appFeesId":3976,"appId":5856,"feesRefId":6039,"initialFees":0,"licensingFees":"960.00","am "paymentDetails":[{"appPaymentId":2112,"amountAppliedForApp":"100.00","checkDetailId":1622,"appId":5856,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T00:00:00","slaintakeDate":"2022-09-23T00:00:00","amount":0,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":null,"createdDate":"2022-09-23T13:21:19.61","modifiedBy":"tgupta@svam.com","modifiedDate":"2022-09-23T13:22:04.06"},{"appPaymentId":2113,"amountAppliedForApp":"10.00","checkDetailId":1623,"appId":5856,"paymentSource":"RDC","checkNo":"2","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T00:00:00","slaintakeDate":"2022-09-23T00:00:00","amount":0,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":null,"createdDate":"2022-09-23T13:21:19.623","modifiedBy":"tgupta@svam.com","modifiedDate":"2022-09-23T13:22:04.07"}],"lateFee":0,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}],"isBondRequired":true,"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":true,"fundDueDate":"2022-09-30T00:00:00.000Z","emailNotificationDetail":{"applicant":{"communicationId":0,"email":"automation@svam.com","appId":5856,"emailContactTypeId":1,"isChecked":true,"roleId":3,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":19517,"email":"sbandi@svam.com","appId":5856,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"automation@test.com","appId":5856,"emailContactTypeId":0,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":true,"appId":5856,"notificationTypeId":96}},"notificationDetails":{"applicant":{"communicationId":0,"email":"automation@svam.com","appId":5856,"emailContactTypeId":1,"isChecked":true,"roleId":3,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":19517,"email":"sbandi@svam.com","appId":5856,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"automation@test.com","appId":5856,"emailContactTypeId":0,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":true,"appId":5856,"notificationTypeId":96},"taskId":2066}
# {"checks":[{"checkDetailId":1625,"appId":5858,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T22:56:37.353Z","slaintakeDate":"2022-09-23T22:56:37.353Z","amount":100 ,"appliedTo":null,"amountUsed":100,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-09-23T22:56:37.353,"modifiedBy":null,"modifiedDate":null,"applyClick":true,"{"checkDetailId":1626,"appId":5858,"paymentSource":"RDC","checkNo":"2","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T22:56:37.353Z","slaintakeDate":"2022-09-23T22:56:37.353Z","amount":"10" ,"appliedTo":null,"amountUsed":0 ,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-09-23T22:56:37.353 ,"modifiedBy":null,"modifiedDate":null,"applyClick":true,],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer", "applicationId":"RE-22-106103-01","applicationTypeId":1,"appFeesId":6039,"appId":5858,"feesRefId":6039,"initialFees":0,"licensingFees":960 ,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":"960" ,"filingFees":"0" ,"ancillaryFees":"0" ,"isFeesWaived":false,"underPaymentAmount":0 ,"amountReceived":"10" ,"waivedComment":null,"isBondReceived":false,"isBondRequired":true,"bondFee":1000,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":5858,"checkDetailId":1625,"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":"100.00","amount":0},{"appId":5858,"checkDetailId":1626,"checkNo":"2","itemNo":"1","batchNo":"1","amountAppliedForApp":"10","amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"isFromReturnedCheck":false,"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":true,"fundDueDate":"2022-09-30T22:56:36.973Z","emailNotificationDetail":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":5858,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":5858,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":5858,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":5858,"createdBy":"Tarun Gupta"},"taskId":null}
836
When method post
208
20:38:13.578 request:
7 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/14000/false
7 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
7 > Content-Type: application/json; charset=UTF-8
7 > Content-Length: 5452
7 > Host: slaleapqaapi.svam.com
7 > Connection: Keep-Alive
7 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
7 > Accept-Encoding: gzip,deflate
{"checks":[{"checkDetailId":2398,"appId":14000,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T20:38:13.004Z","slaintakeDate":"2022-11-15T20:38:13.004Z","amount":40000,"appliedTo":null,"amountUsed":40000,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-03-24T09:43:00.873","modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"RE-22-106380-01","applicationTypeId":1,"appFeesId":6039,"appId":14000,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"30","totalFees":"1060","filingFees":"0","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":0,"amountReceived":"40000.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":14000,"checkDetailId":2398,"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":"40000.00","amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":"1970-01-01T00:00:00.000Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":14000,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14000,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14000,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":14000,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14000,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14000,"createdBy":"Tarun Gupta"},"taskId":null}
20:38:13.785 response time in milliseconds: 207
7 < 200
7 < Content-Length: 4
7 < Content-Type: application/json; charset=utf-8
7 < Server: Microsoft-IIS/10.0
7 < Strict-Transport-Security: max-age=2592000
7 < X-Powered-By: ASP.NET
7 < Date: Tue, 15 Nov 2022 15:08:13 GMT
true
837
Then status 200
0
838
And print response
0
20:38:13.785 [print] true
# ********* SAVE Application Details To Save *********************
843
Given path '/internalapi/api/licensing/app/save'
0
844
And header authorization = 'Bearer ' + strToken
0
845
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":'#(appId)',"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
846
When method post
306
20:38:13.789 request:
8 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
8 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
8 > Content-Type: application/json; charset=UTF-8
8 > Content-Length: 30720
8 > Host: slaleapqaapi.svam.com
8 > Connection: Keep-Alive
8 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
8 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":14000,"formID":1167,"applicationID":"RE-22-106380-01","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":14000,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
20:38:14.093 response time in milliseconds: 304
8 < 200
8 < Content-Length: 49
8 < Content-Type: application/json; charset=utf-8
8 < Server: Microsoft-IIS/10.0
8 < Strict-Transport-Security: max-age=2592000
8 < X-Powered-By: ASP.NET
8 < Date: Tue, 15 Nov 2022 15:08:14 GMT
{"appId":14000,"applicationId":"RE-22-106380-01"}
847
Then status 200
0
848
And def serverResponse = response
0
241
* call read('LicensesCommonMethods.feature@UploadDocumentAmendment') {}
753
>>
karate.UseCases.LicensesCommonMethods
213
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
5666
* def receivedDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy/MM/dd");
var date = new java.util.Date();
return sdf.format(date);
}
5675
* def receivedDate = receivedDateFunc()
0
5677
Given path '/internalapi/api/document/UploadDocument'
0
5678
And header Content-Type = 'application/json; charset=utf-8'
0
5679
And header Accept = 'application/json; text/plain;*/*'
0
5680
And header authorization = 'Bearer ' + strToken
0
5681
And request {"documentDesc":"TestDocument.docx","acaId":'#(appId)',"acaType":"application","bureau":"bureau","documentType":{"key":1,"value":"20 DAY NOTICE","description":null,"documentSubCategory":"20 DAY"},"documentCategory":null,"receivedDate":'#(receivedDate)',"createdDate":'#(date)',"documentBase64":"data:application/vnd.openxmlformats-officedocument.wordprocessingml.document;base64,UEsDBBQABgAIAAAAIQDupm+0lQEAACkHAAATAM0BW0NvbnRlbnRfVHlwZXNdLnhtbCCiyQEooAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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uNgAAY3VzdG9tWG1sL2l0ZW1Qcm9wczEueG1sUEsBAi0AFAAGAAgAAAAhAFyWJyLDAAAAKAEAAB4AAAAAAAAAAAAAAAAAQjcAAGN1c3RvbVhtbC9fcmVscy9pdGVtMi54bWwucmVsc1BLAQItABQABgAIAAAAIQB/i0PDwQAAACIBAAATAAAAAAAAAAAAAAAAAEk5AABjdXN0b21YbWwvaXRlbTMueG1sUEsBAi0AFAAGAAgAAAAhAF2Pkjy5AAAAyQAAABgAAAAAAAAAAAAAAAAAYzoAAGN1c3RvbVhtbC9pdGVtUHJvcHMzLnhtbFBLAQItABQABgAIAAAAIQAAw+x7EQEAAJIBAAATAAAAAAAAAAAAAAAAAHo7AABkb2NQcm9wcy9jdXN0b20ueG1sUEsBAi0AFAAGAAgAAAAhAHvzAqPDAAAAKAEAAB4AAAAAAAAAAAAAAAAAxD0AAGN1c3RvbVhtbC9fcmVscy9pdGVtMy54bWwucmVsc1BLBQYAAAAAFQAVAHsFAADLPwAAAAA=","contentType":"application/vnd.openxmlformats-officedocument.wordprocessingml.document","fileName":"TestDocument.docx","tempGuid":"7a79aee7-0aff-51fb-2e7c-e2445c418b89"}
0
5683
When method post
210
20:38:14.635 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/document/UploadDocument
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
1 > Content-Length: 24547
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"documentDesc":"TestDocument.docx","acaId":14000,"acaType":"application","bureau":"bureau","documentType":{"key":1,"value":"20 DAY NOTICE","description":null,"documentSubCategory":"20 DAY"},"documentCategory":null,"receivedDate":"2022\/11\/15","createdDate":"2022-11-15T20:38:14.632Z","documentBase64":"data:application\/vnd.openxmlformats-officedocument.wordprocessingml.document;base64,UEsDBBQABgAIAAAAIQDupm+0lQEAACkHAAATAM0BW0NvbnRlbnRfVHlwZXNdLnhtbCCiyQEooAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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nhtbFBLAQItABQABgAIAAAAIQB0Pzl6wgAAACgBAAAeAAAAAAAAAAAAAAAAACsyAABjdXN0b21YbWwvX3JlbHMvaXRlbTEueG1sLnJlbHNQSwECLQAUAAYACAAAACEAPSiAX7YAAADJAAAAGAAAAAAAAAAAAAAAAAAxNAAAY3VzdG9tWG1sL2l0ZW1Qcm9wczIueG1sUEsBAi0AFAAGAAgAAAAhAL2EYiOQAAAA2wAAABMAAAAAAAAAAAAAAAAARTUAAGN1c3RvbVhtbC9pdGVtMi54bWxQSwECLQAUAAYACAAAACEApxCnGbYAAADJAAAAGAAAAAAAAAAAAAAAAAAuNgAAY3VzdG9tWG1sL2l0ZW1Qcm9wczEueG1sUEsBAi0AFAAGAAgAAAAhAFyWJyLDAAAAKAEAAB4AAAAAAAAAAAAAAAAAQjcAAGN1c3RvbVhtbC9fcmVscy9pdGVtMi54bWwucmVsc1BLAQItABQABgAIAAAAIQB\/i0PDwQAAACIBAAATAAAAAAAAAAAAAAAAAEk5AABjdXN0b21YbWwvaXRlbTMueG1sUEsBAi0AFAAGAAgAAAAhAF2Pkjy5AAAAyQAAABgAAAAAAAAAAAAAAAAAYzoAAGN1c3RvbVhtbC9pdGVtUHJvcHMzLnhtbFBLAQItABQABgAIAAAAIQAAw+x7EQEAAJIBAAATAAAAAAAAAAAAAAAAAHo7AABkb2NQcm9wcy9jdXN0b20ueG1sUEsBAi0AFAAGAAgAAAAhAHvzAqPDAAAAKAEAAB4AAAAAAAAAAAAAAAAAxD0AAGN1c3RvbVhtbC9fcmVscy9pdGVtMy54bWwucmVsc1BLBQYAAAAAFQAVAHsFAADLPwAAAAA=","contentType":"application\/vnd.openxmlformats-officedocument.wordprocessingml.document","fileName":"TestDocument.docx","tempGuid":"7a79aee7-0aff-51fb-2e7c-e2445c418b89"}
20:38:14.844 response time in milliseconds: 209
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:14 GMT
1 < Content-Length: 4
true
5684
Then status 200
0
5685
And print response
0
20:38:14.844 [print] true
5686
* match response == 'true'
0
243
* call read('LicensesCommonMethods.feature@SubmitLicenseAndValidateLicStatus') {expStatus:'Awaiting Review'}
3691
>>
karate.UseCases.LicensesCommonMethods
2754
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Application SUBMIT *********************
1099
Given path '/internalapi/api/licensing/app/submit'
0
1100
And header authorization = 'Bearer ' + strToken
0
1101
And request {"appId":'#(appId)',"wfType":null}
0
1102
When method post
239
20:38:15.784 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/submit
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 29
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"appId":14000,"wfType":null}
20:38:16.022 response time in milliseconds: 238
1 < 200
1 < Content-Length: 121
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:16 GMT
{"success":true,"submittedApps":[{"success":true,"taskId":0,"appId":14000,"applicationId":"RE-22-106380-01","error":""}]}
1103
Then status 200
0
1104
And def serverResponse = response
0
1105
And match response.success == true
0
1106
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
2513
>>
karate.UseCases.LicensesCommonMethods
507
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
345
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
158
20:38:18.372 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/14000
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:38:18.529 response time in milliseconds: 157
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:18 GMT
1 < Content-Length: 213
{"applicationId":"RE-22-106380-01","submitDate":"2022-11-15T10:08:15.947","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":true}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:38:18.530 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
0
244
* def licPerType = 'license'
0
245
* call read('LicensesCommonMethods.feature@AssignApplicationsToExaminer') {expStatus:'Awaiting Review'}
1704
>>
karate.UseCases.LicensesCommonMethods
1131
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* AssignApplicationsSaveDigestDataToExaminer *********************
1139
Given path '/internalapi/api/licensing/examiner/assignApplicationsToExaminer'
0
1140
And header authorization = 'Bearer ' + strToken
0
1141
And request [{"appId":'#(appId)',"examinerId":1069,"priority":"Normal"}]
0
1142
When method post
224
20:38:19.116 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner/assignApplicationsToExaminer
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 55
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"appId":14000,"examinerId":1069,"priority":"Normal"}]
20:38:19.339 response time in milliseconds: 223
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:18 GMT
1 < Content-Length: 5
false
1143
And def serverResponse = response
0
1144
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
902
>>
karate.UseCases.LicensesCommonMethods
288
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
134
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
150
20:38:20.079 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/14000
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:38:20.228 response time in milliseconds: 149
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:20 GMT
1 < Content-Length: 213
{"applicationId":"RE-22-106380-01","submitDate":"2022-11-15T10:08:15.947","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":true}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:38:20.229 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
356
* def extendedDueDateRenewal = fundDueDateFuncRenewal(15)
1
359
And print extendedDueDateRenewal
0
20:38:20.249 [print] 2022-11-30T20:38:20.249Z
360
* def licPerType = 'license'
0
361
* call read('RenewalCommonMethods.feature@RenewalPermitExaminerReviewDefineDefencies') {expStatus:'Additional Info Required'}
644
20:38:20.893 classpath:karate/UseCases/Uc_RenewalDueDate.feature:361
* call read('RenewalCommonMethods.feature@RenewalPermitExaminerReviewDefineDefencies') {expStatus:'Additional Info Required'}
status code was: 450, expected: 200, response time in milliseconds: 234, url: https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner-review/saveDecision, response:
{
"statusCode": 450,
"message": "7d65c939deb0 : Current task is not valid"
}
classpath:karate/UseCases/RenewalCommonMethods.feature:1486
classpath:karate/UseCases/Uc_RenewalDueDate.feature:361
>>
karate.UseCases.RenewalCommonMethods
469
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def date = getDate2()
0
17
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
26
* def effectiveDate = effectiveDateFunc()
0
30
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
39
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
50
* def fundDueDate = fundDueDateFunc(7)
1
53
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
64
* def conditionDefinedDateFunction =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.00");
var date = new java.util.Date();
return sdf.format(date);
}
75
* def conditionDefinedDate = conditionDefinedDateFunction()
0
76
* def conditionDefinedDateFunctionwithAddedDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var date = new java.util.Date();
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
88
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
99
* def getRenewalReviewFunc =
0
function(reviewType){
if (reviewType == 'Send to Licensing Board'){
return 2;
}
else if (reviewType == 'Send to Full Board Preview Team'){
return 3;
}
else if (reviewType == 'Define Deficiencies'){
return 1;
}
}
# ********* RenewalPermitExaminerReviewDefineDefencies *********************
1453
* def summisionDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS");
var date = new java.util.Date();
return sdf.format(date);
}
1461
Given path '/internalapi/api/application/'+appId
0
1462
And header Content-Type = 'application/json; charset=utf-8'
0
1463
And header Accept = 'application/json; text/plain;*/*'
0
1464
And header authorization = 'Bearer ' + strToken
0
1465
And request {}
0
1466
When method get
224
20:38:20.425 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/14000
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:38:20.647 response time in milliseconds: 222
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:20 GMT
1 < Content-Length: 2489
{"applicationCategory":1,"appId":14000,"applicationId":"RE-22-106380-01","licePermitTypeId":null,"applicationTypeId":2,"formVersionId":1666,"formId":1167,"legalName":"Automation20221115203810Automation","submitDate":"2022-11-15T10:08:15.947","isGISRequired":false,"licenseDescription":"Restaurant-Beer","recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":"New York","priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Awaiting Review","taskId":2020,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":"12/15/2022 12:00:00 AM","memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":2749,"appId":14000,"examinerId":1069,"name":null,"assignDate":"2022-11-15T10:08:19.28","isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":40,"type":"1","category":"1","product":"Beer","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":40,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"clericalName":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"isFairOrFestival":false,"isShowEffExpDateOnLBReview":false,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":"2022-11-15T10:08:19.28"}
1467
Then status 200
0
1468
And def serverResponse = response
0
1469
* def applicationTypeId = serverResponse.applicationTypeId
0
1470
* def amendmentTypeId = serverResponse.amendmentTypeId
0
1472
* def ApplicationId = serverResponse.applicationId
0
1473
* def formVersionId = serverResponse.formVersionId
0
1474
* def formId = serverResponse.formId
0
1475
* def pastDueDate = serverResponse.pastDueDate
0
1476
And print pastDueDate
0
20:38:20.648 [print] 12/15/2022 12:00:00 AM
1477
* def appExaminerId = serverResponse.assignAppExaminer.appExaminerId
0
1478
* def countyName = serverResponse.assignAppExaminer.countyName
0
1480
Given path '/internalapi/api/licensing/examiner-review/saveDecision'
0
1481
* def formatedSumbitDate = summisionDate()
1
1482
And header authorization = 'Bearer ' + strToken
0
1483
And header current-wfroleid = 4
0
1484
And request {"isFingerPrintsApproved":true,"isFingerPrintsRequired":true,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"appId":'#(appId)',"applicationId":"","applicationType":2,"taskId":2059,"application":{"applicationCategory":1,"appId":'#(appId)',"applicationId":'#(ApplicationId)',"licePermitTypeId":null,"applicationTypeId":2,"formVersionId":'#(formVersionId)',"formId":'#(formId)',"legalName":"Automation20220922133655Automation","submitDate":"2022-09-22T04:06:59.267","isGISRequired":null,"licenseDescription":"Restaurant-Beer","recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":"New York","priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Additional Info Received","taskId":2059,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":true,"isHighlyDeficient":null,"isAllDeficienciesMet":false,"pastDueDate":"10/22/2022 12:00:00 AM","memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":3110,"appId":'#(appId)',"examinerId":1069,"name":null,"assignDate":"2022-09-22T04:07:00.5","isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":40,"type":"1","category":"1","product":"Beer","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":40,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"clericalName":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"isFairOrFestival":false,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":"2022-09-22T04:07:04.213"},"newComments":"","defineDeficiencies":{"isHighlyDeficientApplication":null,"isAllDeficienciesMet":false,"isFinalDeficiency":true},"approvedRenewal":{},"hasErrors":[],"emailNotificationModel":{"applicant":{"communicationId":18448,"email":"automation@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":""}},"recommendedDecisionId":null,"decisionType":{"name":"No And Define Final Deficiency","value":10,"isChecked":null},"erDeficiencies":{"deficiencies":[],"descriptions":[],"deficienciesList":[],"selectInput":{"fromFields":[{"id":4,"label":"Applicant Name doesnt match Filing Receipt","fullText":"As the applicant is a corporation, LLC or LLP, the applicant name must be the same as the name on the filing receipt."},{"id":5,"label":"Secretary of State filing receipt missing","fullText":"Submit a copy of the Secretary of State filing receipt for the corp/LLC/LLP"},{"id":6,"label":"Corporate Minutes Missing","fullText":"Provide a copy of the corporate minutes for the applicant entity"},{"id":7,"label":"LLC Operating Agreement Missing","fullText":"Provide a copy of the LLC operating agreement for the applicant entity"},{"id":8,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":9,"label":"Prem Address does not match Lease","fullText":"Premises address does not match the address listed on lease."},{"id":10,"label":"Prem Address does not match bill of sale","fullText":"Premises address does not match the address listed on the bill of sale."},{"id":11,"label":"PremAddress does not match deed","fullText":"Premises address does not match the address listed on the deed."},{"id":12,"label":"Prem address not same on all docs or physical loc. ","fullText":"Premises address must be written the same on all documents and must be the physical location of the premises (not the mailing address)."},{"id":13,"label":"Missing NOA/Attorney/Rep","fullText":"Submit a Notice of Appearance or the attorney or representative."},{"id":14,"label":"Lease Missing","fullText":"Entity owning real property does not match applicant name – A lease between the two parties is required and must be submitted. "},{"id":15,"label":"Lease Term Incorrect","fullText":"The lease must run the full term of the license period (please take processing time into consideration when determining the end date of the lease). Provide either a new lease document or an amendment/rider to the existing one (signed by both landlord and tenant). "},{"id":16,"label":"Landlord Name Missing from Deed","fullText":"Landlord name must be the name shown on the deed."},{"id":17,"label":"Landlord Principals Missing","fullText":"All principals of the landlord entity must be listed."},{"id":18,"label":"Deed Missing","fullText":"To verify ownership, submit a copy of the deed."},{"id":19,"label":"Source of Funds Missing","fullText":"The source of ALL funds (cash and borrowed) must be listed on this form."},{"id":20,"label":"Financial Docs Missing","fullText":"Submit financial documentation proving the availability of the funds listed. You must submit 3 consecutive months-worth of statements from checking or savings accounts showing the availability of the funds at the time they were expended."},{"id":21,"label":"Executed Loan Agreements Missing","fullText":"Submit a copy of all executed loan agreements. "},{"id":22,"label":"500 foot Premises Missing","fullText":"Provide the name and address of all on premises liquor establishments located within 500 feet of your establishment."},{"id":23,"label":"500 Foot Statement Missing","fullText":"Provide a statement addressing why you believe it would be in the public's interest to issue this license."},{"id":24,"label":"Statement of Area Plan Missing","fullText":"Please complete the Statement of Area Plan form"},{"id":25,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":26,"label":"","fullText":"Please list gender on _________'s personal questionnaire."},{"id":27,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":28,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":29,"label":"Amend License history for {}","fullText":"________________ has/had license history with the Authority. Amend question five to reflect all license history."},{"id":30,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":31,"label":"Label all Rooms and Bars","fullText":"Amend the diagram labeling all rooms and bars"},{"id":32,"label":"Include Food Prep Area","fullText":"Amend the diagram to include the food prep area"},{"id":33,"label":"Diagram of Basement Missing","fullText":"Provide a diagram of the basement"},{"id":34,"label":"Block Plot Diagram Missing","fullText":"Provide a block plot diagram"},{"id":35,"label":"Outside Area Diagram Missing","fullText":"Add the outside area to the diagram "},{"id":36,"label":"Interior Color Photos Missing","fullText":"Submit color photos of the interior of the premises including all dining areas, the bar and at least one of the kitchen. Place the serial number on the back of each photo."},{"id":37,"label":"Front Exterior Color Photo Missing","fullText":"Submit one color photo of the front exterior of the premises. Place the serial number on the back of the photo."},{"id":38,"label":"Outside Area Color Photo Missing","fullText":"Submit color photos of any outside area (deck, patio, yard) to be licensed. The photos must show how the area is contained (fencing, shrubbery, roping off). Place the serial number on the back of the photos."},{"id":39,"label":"Applicant Color Photo Missing","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":40,"label":"Photo ID for {} Missing","fullText":"Provide a copy of ____________'s photo identification."},{"id":41,"label":"Menu Missing","fullText":"Submit a copy of the menu."},{"id":42,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":43,"label":"Additional Restroom Required","fullText":"You have listed 1 restroom. The Rules of the State Liquor Authority require 2 separate restrooms for both sexes. Please submit a request to the Authority asking for a waiver of the 2-restroom rule. You must explain why you believe one restroom is sufficient for the operation of your establishment."},{"id":44,"label":"Maximum Occupancy Cert Missing","fullText":"Submit a copy of the maximum occupancy certificate."},{"id":45,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted. "},{"id":46,"label":"Applicant Photo Missing","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":47,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted."},{"id":48,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":49,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":50,"label":"Gender missing on {}'s PQ","fullText":"Please list gender on _________'s personal questionnaire."},{"id":51,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":52,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":53,"label":"Amend License history for {}","fullText":"________________ has/had license history with the Authority. Amend question five to reflect all license history."},{"id":54,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":55,"label":"Current Diagram Missing","fullText":"Provide a current diagram – showing what the premises looks like before the proposed changes to be made."},{"id":56,"label":"Proposed Diagram Missing","fullText":"Provide a proposed diagram – showing what the premises will look like after the changes are complete."},{"id":57,"label":"Block Plot Diagram Missing","fullText":"Provide a block plot diagram."},{"id":58,"label":"Outside Area Diagram Missing","fullText":"Add the outside area to the proposed diagram."},{"id":59,"label":"Building Permit Missing","fullText":"Provide a copy of the building permit."},{"id":60,"label":"Area to be Altered Photos Missing","fullText":"Provide photos of the area to be altered."},{"id":61,"label":"Lease of New Area Missing","fullText":"Provide a copy of the lease for the proposed new area."},{"id":62,"label":"New Premises Establishment Q. Missing","fullText":"Provide a completed establishment questionnaire for the new proposed premises."},{"id":63,"label":"Add Bar Application Missing","fullText":"You are adding a new bar to the premises, please provide an additional bar application along with $__________."},{"id":64,"label":"Proof of Finances Misses","fullText":"Provide proof of finances."},{"id":65,"label":"Part 1 Principals Missing","fullText":"List all current principals in Part 1."},{"id":66,"label":"Part 2 Principals Missing","fullText":"List all proposed (current and new) principals in Part 2."},{"id":67,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":68,"label":"Contract/Bill of Sale for Stocks/Shares Missing","fullText":"Provide a copy of the contract or bill of sale for the stock/shares being sold."},{"id":69,"label":"Gift Letter Missing","fullText":"Provide a gift letter for the stock/shares being gifted."},{"id":70,"label":"Death Certificate Missing","fullText":"Provide a copy of the death certificate."},{"id":71,"label":"Last will and Testament Missing","fullText":"Provide a copy of the Last Will & Testament."},{"id":72,"label":"Letters of Testamony or Administration Missing","fullText":"Provide a copy of any Letters of Testamentary or Letters of Administration."},{"id":73,"label":"Applicant's Statement missing","fullText":"Provide a copy of the applicant's statement completed by all new principals."},{"id":74,"label":"Personal Questionnaire Missing","fullText":"Provide a personal questionnaire for any new individuals."},{"id":75,"label":"Proof of Finances Missing","fullText":"Provide proof of finances."},{"id":76,"label":"Standardized Notice Form Missing","fullText":"Provide a copy of the completed standardized notice form and proof of mailing to the community board."},{"id":77,"label":"Corporate Minutes Missing","fullText":"Provide a copy of the corporate minutes appointing new officers."},{"id":78,"label":"Amended Operating Agreement Missing","fullText":"Provide a copy of the amended operating agreement for the LLC listing all officers."},{"id":79,"label":"Applicant Photo Missing for {}","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":81,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":82,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":83,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":84,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":85,"label":"Amend License history for {}","fullText":"________________ has/had license history with the Authority. Amend question five to reflect all license history."},{"id":86,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":87,"label":"Contract/Bill of Sale for interest sold Missing","fullText":"Provide a copy of the contract or bill of sale for the interest being sold."},{"id":88,"label":"Gift Letter Missing","fullText":"Provide a gift letter for the interest being gifted."},{"id":89,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":90,"label":"Death Certificate Missing","fullText":"Provide a copy of the death certificate."},{"id":91,"label":"Last will and Testament Missing","fullText":"Provide a copy of the Last Will & Testament"},{"id":92,"label":"Letters of Testamony or Administration Missing","fullText":"Provide a copy of any Letters of Testamentary or Letters of Administration"},{"id":93,"label":"Applicant's Statement missing","fullText":"Provide a copy of the applicant's statement completed by each new individual or partner"},{"id":94,"label":"Proof of Finances Missing","fullText":"Provide proof of finances."},{"id":95,"label":"Management Agreement Missing","fullText":"Provide a copy of the management agreement."},{"id":96,"label":"Personal Questionnaire Missing","fullText":"Provide a personal questionnaire for any new individuals."},{"id":97,"label":"911 or Municipality Letter Missing","fullText":"Provide a copy of the 911 or letter from the municipality changing the premises address."},{"id":98,"label":"Bond Rider for Premises Address Missing","fullText":"Provide a copy of the bond rider amending the premises address."},{"id":99,"label":"Amended Certificate of Authority Missing","fullText":"Provide a copy of the amended Certificate of Authority reflecting the new information."},{"id":100,"label":"Marriage Cert Missing","fullText":"Provide a copy of the marriage certificate."},{"id":101,"label":"Divorce Decree Missing","fullText":"Provide a copy of the divorce decree."},{"id":102,"label":"Assumed Name Filing Receipt Missing","fullText":"Provide a copy of the Assumed Name filing receipt from the Secretary of State."},{"id":103,"label":"Corporate Name Filing Receipt Missing","fullText":"Provide a copy of the Amended Corporate Name filing receipt from the Secretary of State."},{"id":104,"label":"Court Authorization Docs Missing","fullText":"Provide a copy of documentation of Court Authorization."},{"id":105,"label":"Business Certificate Missing","fullText":"Provide a copy of the amended or new Business Certificate from the county clerk's office."},{"id":106,"label":"Amended Operating Agreement Missing","fullText":"Provide a copy of the amended operating agreement for the LLC, listing all officers."},{"id":107,"label":"Holding Corp Stipulation Missing","fullText":"Provide a holding corporation stipulation."},{"id":108,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":109,"label":"Bond Rider for New Name Missing","fullText":"Provide a bond rider reflecting the new name."},{"id":110,"label":"Applicant Photo Missing for {}","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":111,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted."},{"id":112,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":113,"label":"Personal Quetionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":115,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":116,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":117,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":118,"label":"Amend License history for {}","fullText":"________________ has/had license history with the Authority. Amend question five to reflect all license history."},{"id":119,"label":"Statement of Changes Missing","fullText":"Provide a statement explaining the changes being requested."},{"id":120,"label":"Method of Operatiom Missing","fullText":"Provide a Method of Operation"},{"id":121,"label":"Standardized Notice Form Missing","fullText":"Provide a standardized notice form and proof of mailing sent to the municipality or community board notifying them of the proposed changes."},{"id":122,"label":"Supporting Municiaplity or CB Letter Missing","fullText":"Provide a letter from the municipality or community board advising that they support the proposed changes."},{"id":123,"label":"Additional Funds Required","fullText":"Additional Funds Required"},{"id":124,"label":"Bond Missing","fullText":"Submit the Bond."},{"id":125,"label":"Bond not Signed","fullText":"Signt the Bond."},{"id":126,"label":"All Approved Principals Missing","fullText":"List all the principals approved to be on the license in the corporate section of the renewal application."},{"id":127,"label":"Standardized Notice Form Missing","fullText":"Submit a copy of the 30 day Standardized Notification form sent to the Community Board."},{"id":128,"label":"Proof of Mailing for Standardized Notice","fullText":"Submit a copy of the proof of mailing for the Standardized Notification form. "},{"id":129,"label":"Provide Assumed Name Certificate for DBA","fullText":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC's dba name."},{"id":130,"label":"Provde Business Cert for DBA","fullText":"Provide a copy of the business certificate from the county clerk for your dba name."},{"id":131,"label":"Provide FEIN","fullText":"Provide your federal tax identification number."},{"id":132,"label":"Provide Certificate of Authority DTF","fullText":"Provide a copy of your Certificate of Authority from the New York State Tax Department."},{"id":133,"label":"Provide Amended Cert of Auth. - Name does not Match","fullText":"Provide an amended Certificate of Authority – the name must match the applicant name exactly."},{"id":134,"label":"Provide Amended Cert of Auth.- Address does not Match","fullText":"Provide an amended Certificate of Authority – the address must match the premises address exactly."},{"id":135,"label":"Provide bond rider amending {}","fullText":"Provide a signed Bond Rider amending _______."},{"id":136,"label":"Provide Worker's Comp and Disablity Names and Policy No. ","fullText":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers."},{"id":137,"label":"Provide Inventory to be Purchased","fullText":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee."},{"id":138,"label":"Provide Newspaper Affidavits","fullText":"Submit a copy of the Newspaper Affidavit(s)."},{"id":139,"label":"Provide your TTB Permit","fullText":"Provide your TTB permit."},{"id":140,"label":"Surrender Current License in Effect","fullText":"Surrender of the current license in effect."},{"id":141,"label":"Edits to Curriculum","fullText":"Make the edits listed below to the curriculum."},{"id":142,"label":"Curriculum too General","fullText":"The submitted Curriculum generally covers the required topics. However, the below changes must be made to ensure that the persons taking the course understand their rights, obligations, and liabilities under New York law."},{"id":143,"label":"Direct Delivery Missing","fullText":"The licensee's and server's responsibility to not sell, deliver or give alcohol to someone under the age of 21 (ABC Law 65)."},{"id":144,"label":"Redelivery Missing","fullText":"The licensee's and server's responsibility when serving more than one drink to an individual to be aware of any redelivery by the legal patron (on-premises only)."},{"id":145,"label":"Reasonable Supervision Missing","fullText":"The licensee's and server's responsibility to reasonably supervise the premises."},{"id":146,"label":"Right to Refuse Missing","fullText":"The licensee's and server's right to refuse to sell, including but not limited to, an underage patron, an intoxicated patron, or a patron without proper identification."},{"id":147,"label":"Burden of Reasonable Reliance Missing","fullText":"The licensee's and server's burden to establish that a delivery of alcohol was made in a reasonable reliance upon written evidence of age."},{"id":148,"label":"Forms of Identification Missing","fullText":"The forms of identification which may be legally accepted as written evidence of age (ABC Law 65-b.2)."},{"id":149,"label":"ID Features Missing","fullText":"Key features of the valid forms of identification and the way false and fraudulent forms of identification may be detected."},{"id":150,"label":"Devices and Manuals Missing","fullText":"Devices and manuals which may be used to aid in the detection of false and fraudulent written evidence of age, and information regarding the way such devises and manuals may be obtained."},{"id":151,"label":"Criminal Penalties Missing","fullText":"The criminal liabilities and penalties for both the individual and the establishment for unlawfully dealing with a child (Penal Law 260.20)."},{"id":152,"label":"Civil Liabilities Missing","fullText":"The civil liabilities, general liabilities, responsibilities and general obligations (General Obligations Law 11-100 and 11-101)."},{"id":153,"label":"Firsthand Accounts Missing","fullText":"Firsthand accounts from the public illustrating the consequences of the failure of licensees and/or servers to operate in a safe, legal and responsible manner. (i.e., MADD, RID, and Shattered Lives)."},{"id":154,"label":"Course Access","fullText":"Provide the New York State Liquor Authority with access to the online course for review."},{"id":155,"label":"Applicant website","fullText":"Remove the following content from the applicants' website:"},{"id":156,"label":"Legal Name Missing","fullText":"Provide the legal name of the applicant."},{"id":157,"label":"Mailing Address","fullText":"Provide the mailing address of the applicant."},{"id":158,"label":"Federal ID Number","fullText":"Provide the federal id number of the applicant."},{"id":159,"label":"Applicant's phone","fullText":"Provide the applicant's contact phone number."},{"id":160,"label":"Applicant's Email","fullText":"Provide the applicant's email address."},{"id":161,"label":"Director's Name","fullText":"Provide the director's name."},{"id":162,"label":"Director's Phone","fullText":"Provide the director's phone number."},{"id":163,"label":"Director's Email","fullText":"Provide the director's email address."},{"id":164,"label":"Program Box","fullText":"Designate the format of the course. The Alcoholic Beverage Control Law states that the course be taught via online, classroom, or distance learning. An ATAP course can be offered in multiple formats."},{"id":165,"label":"Late Renewal","fullText":"Late Renewal"}],"toFields":[{"id":-1,"label":"Applicant Photo Missing","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________.","originalId":46},{"id":-2,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted. ","originalId":45},{"id":-3,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________.","originalId":48},{"id":-4,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________.","originalId":49},{"id":-5,"label":"Gender missing on {}'s PQ","fullText":"Please list gender on _________'s personal questionnaire.","originalId":50},{"id":-6,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years.","originalId":51},{"id":-7,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected.","originalId":52},{"id":-8,"label":"Amend License history for {}","fullText":"________________ has/had license history with the Authority. Amend question five to reflect all license history.","originalId":53},{"id":-9,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities.","originalId":54},{"id":-10,"label":"Additional Funds Required","fullText":"Additional Funds Required","originalId":123},{"id":-11,"label":"Provide Assumed Name Certificate for DBA","fullText":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC's dba name.","originalId":129},{"id":-12,"label":"Provde Business Cert for DBA","fullText":"Provide a copy of the business certificate from the county clerk for your dba name.","originalId":130},{"id":-13,"label":"Provide FEIN","fullText":"Provide your federal tax identification number.","originalId":131},{"id":-14,"label":"Provide Certificate of Authority DTF","fullText":"Provide a copy of your Certificate of Authority from the New York State Tax Department.","originalId":132},{"id":-15,"label":"Provide Amended Cert of Auth. - Name does not Match","fullText":"Provide an amended Certificate of Authority – the name must match the applicant name exactly.","originalId":133},{"id":-16,"label":"Provide Amended Cert of Auth.- Address does not Match","fullText":"Provide an amended Certificate of Authority – the address must match the premises address exactly.","originalId":134},{"id":-17,"label":"Provide bond rider amending {}","fullText":"Provide a signed Bond Rider amending _______.","originalId":135},{"id":-18,"label":"Provide Worker's Comp and Disablity Names and Policy No. ","fullText":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers.","originalId":136},{"id":-19,"label":"Provide Inventory to be Purchased","fullText":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee.","originalId":137},{"id":-20,"label":"Provide Newspaper Affidavits","fullText":"Submit a copy of the Newspaper Affidavit(s).","originalId":138},{"id":-21,"label":"Provide your TTB Permit","fullText":"Provide your TTB permit.","originalId":139},{"id":-22,"label":"Surrender Current License in Effect","fullText":"Surrender of the current license in effect.","originalId":140},{"deficiencyDetailId":4701,"appId":'#(appId)',"deficiencyTypeId":46,"deficiencyType":"ABC Officer","shortDescription":"Applicant Photo Missing","applicationType":"Amendments","description":"Provide a color photo of the applicant (no smaller than passport size) for _______________.","deficiencyDate":"2022-09-22T04:07:05.363","responseDueDate":"2022-10-02T04:07:05.363","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.363","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a color photo of the applicant (no smaller than passport size) for _______________.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4701,"originalId":4701,"label":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"deficiencyDetailId":4702,"appId":'#(appId)',"deficiencyTypeId":47,"deficiencyType":"ABC Officer","shortDescription":"Fingerprints needed for {}","applicationType":"Amendments","description":"______________________ needs to be fingerprinted.","deficiencyDate":"2022-09-22T04:07:05.367","responseDueDate":"2022-10-02T04:07:05.367","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.367","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"______________________ needs to be fingerprinted.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4702,"originalId":4702,"label":"______________________ needs to be fingerprinted."},{"deficiencyDetailId":4703,"appId":'#(appId)',"deficiencyTypeId":48,"deficiencyType":"ABC Officer","shortDescription":"Proof of Citizenship Missing for {}","applicationType":"Amendments","description":"Provide proof of citizenship for _________________.","deficiencyDate":"2022-09-22T04:07:05.373","responseDueDate":"2022-10-02T04:07:05.373","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.373","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide proof of citizenship for _________________.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4703,"originalId":4703,"label":"Provide proof of citizenship for _________________."},{"deficiencyDetailId":4704,"appId":'#(appId)',"deficiencyTypeId":49,"deficiencyType":"ABC Officer","shortDescription":"Personal Questionnaire missing for {}","applicationType":"Amendments","description":"Provide a personal questionnaire for __________________.","deficiencyDate":"2022-09-22T04:07:05.377","responseDueDate":"2022-10-02T04:07:05.377","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.377","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a personal questionnaire for __________________.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4704,"originalId":4704,"label":"Provide a personal questionnaire for __________________."},{"deficiencyDetailId":4705,"appId":'#(appId)',"deficiencyTypeId":50,"deficiencyType":"ABC Officer","shortDescription":"Gender missing on {}'s PQ","applicationType":"Amendments","description":"Please list gender on _________'s personal questionnaire.","deficiencyDate":"2022-09-22T04:07:05.383","responseDueDate":"2022-10-02T04:07:05.383","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.383","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Please list gender on _________'s personal questionnaire.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4705,"originalId":4705,"label":"Please list gender on _________'s personal questionnaire."},{"deficiencyDetailId":4706,"appId":'#(appId)',"deficiencyTypeId":51,"deficiencyType":"ABC Officer","shortDescription":"Residence Address (past) Missing","applicationType":"Amendments","description":"Provide residence addresses for the last 5 consecutive years.","deficiencyDate":"2022-09-22T04:07:05.39","responseDueDate":"2022-10-02T04:07:05.39","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.39","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide residence addresses for the last 5 consecutive years.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4706,"originalId":4706,"label":"Provide residence addresses for the last 5 consecutive years."},{"deficiencyDetailId":4707,"appId":'#(appId)',"deficiencyTypeId":52,"deficiencyType":"ABC Officer","shortDescription":"Employment Info (past) Missing","applicationType":"Amendments","description":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected.","deficiencyDate":"2022-09-22T04:07:05.397","responseDueDate":"2022-10-02T04:07:05.397","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.397","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4707,"originalId":4707,"label":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"deficiencyDetailId":4708,"appId":'#(appId)',"deficiencyTypeId":53,"deficiencyType":"ABC Officer","shortDescription":"Amend License history for {}","applicationType":"Amendments","description":"________________ has/had license history with the Authority. Amend question five to reflect all license history.","deficiencyDate":"2022-09-22T04:07:05.4","responseDueDate":"2022-10-02T04:07:05.4","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.4","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"________________ has/had license history with the Authority. Amend question five to reflect all license history.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4708,"originalId":4708,"label":"________________ has/had license history with the Authority. Amend question five to reflect all license history."},{"deficiencyDetailId":4709,"appId":'#(appId)',"deficiencyTypeId":54,"deficiencyType":"ABC Officer","shortDescription":"Conviction Record found for {}","applicationType":"Amendments","description":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities.","deficiencyDate":"2022-09-22T04:07:05.407","responseDueDate":"2022-10-02T04:07:05.407","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.407","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4709,"originalId":4709,"label":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"deficiencyDetailId":4711,"appId":10376,"deficiencyTypeId":129,"deficiencyType":"All","shortDescription":"Provide Assumed Name Certificate for DBA","applicationType":"All","description":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC's dba name.","deficiencyDate":"2022-09-22T04:07:05.42","responseDueDate":"2022-10-02T04:07:05.42","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.42","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC's dba name.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4711,"originalId":4711,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC's dba name."},{"deficiencyDetailId":4712,"appId":'#(appId)',"deficiencyTypeId":130,"deficiencyType":"All","shortDescription":"Provde Business Cert for DBA","applicationType":"All","description":"Provide a copy of the business certificate from the county clerk for your dba name.","deficiencyDate":"2022-09-22T04:07:05.427","responseDueDate":"2022-10-02T04:07:05.427","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.427","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a copy of the business certificate from the county clerk for your dba name.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4712,"originalId":4712,"label":"Provide a copy of the business certificate from the county clerk for your dba name."},{"deficiencyDetailId":4713,"appId":'#(appId)',"deficiencyTypeId":131,"deficiencyType":"All","shortDescription":"Provide FEIN","applicationType":"All","description":"Provide your federal tax identification number.","deficiencyDate":"2022-09-22T04:07:05.433","responseDueDate":"2022-10-02T04:07:05.433","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.433","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide your federal tax identification number.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4713,"originalId":4713,"label":"Provide your federal tax identification number."},{"deficiencyDetailId":4714,"appId":'#(appId)',"deficiencyTypeId":132,"deficiencyType":"All","shortDescription":"Provide Certificate of Authority DTF","applicationType":"All","description":"Provide a copy of your Certificate of Authority from the New York State Tax Department.","deficiencyDate":"2022-09-22T04:07:05.437","responseDueDate":"2022-10-02T04:07:05.437","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.437","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a copy of your Certificate of Authority from the New York State Tax Department.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4714,"originalId":4714,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department."},{"deficiencyDetailId":4715,"appId":'#(appId)',"deficiencyTypeId":133,"deficiencyType":"All","shortDescription":"Provide Amended Cert of Auth. - Name does not Match","applicationType":"All","description":"Provide an amended Certificate of Authority – the name must match the applicant name exactly.","deficiencyDate":"2022-09-22T04:07:05.447","responseDueDate":"2022-10-02T04:07:05.447","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.447","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide an amended Certificate of Authority – the name must match the applicant name exactly.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4715,"originalId":4715,"label":"Provide an amended Certificate of Authority – the name must match the applicant name exactly."},{"deficiencyDetailId":4716,"appId":'#(appId)',"deficiencyTypeId":134,"deficiencyType":"All","shortDescription":"Provide Amended Cert of Auth.- Address does not Match","applicationType":"All","description":"Provide an amended Certificate of Authority – the address must match the premises address exactly.","deficiencyDate":"2022-09-22T04:07:05.453","responseDueDate":"2022-10-02T04:07:05.453","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.453","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide an amended Certificate of Authority – the address must match the premises address exactly.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4716,"originalId":4716,"label":"Provide an amended Certificate of Authority – the address must match the premises address exactly."},{"deficiencyDetailId":4717,"appId":'#(appId)',"deficiencyTypeId":135,"deficiencyType":"All","shortDescription":"Provide bond rider amending {}","applicationType":"All","description":"Provide a signed Bond Rider amending _______.","deficiencyDate":"2022-09-22T04:07:05.46","responseDueDate":"2022-10-02T04:07:05.46","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.46","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a signed Bond Rider amending _______.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4717,"originalId":4717,"label":"Provide a signed Bond Rider amending _______."},{"deficiencyDetailId":4718,"appId":'#(appId)',"deficiencyTypeId":136,"deficiencyType":"All","shortDescription":"Provide Worker's Comp and Disablity Names and Policy No. ","applicationType":"All","description":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers.","deficiencyDate":"2022-09-22T04:07:05.467","responseDueDate":"2022-10-02T04:07:05.467","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.467","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4718,"originalId":4718,"label":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers."},{"deficiencyDetailId":4719,"appId":'#(appId)',"deficiencyTypeId":137,"deficiencyType":"All","shortDescription":"Provide Inventory to be Purchased","applicationType":"All","description":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee.","deficiencyDate":"2022-09-22T04:07:05.473","responseDueDate":"2022-10-02T04:07:05.473","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.473","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4719,"originalId":4719,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee."},{"deficiencyDetailId":4720,"appId":'#(appId)',"deficiencyTypeId":138,"deficiencyType":"All","shortDescription":"Provide Newspaper Affidavits","applicationType":"All","description":"Submit a copy of the Newspaper Affidavit(s).","deficiencyDate":"2022-09-22T04:07:05.48","responseDueDate":"2022-10-02T04:07:05.48","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.48","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Submit a copy of the Newspaper Affidavit(s).","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4720,"originalId":4720,"label":"Submit a copy of the Newspaper Affidavit(s)."},{"deficiencyDetailId":4721,"appId":'#(appId)',"deficiencyTypeId":139,"deficiencyType":"All","shortDescription":"Provide your TTB Permit","applicationType":"All","description":"Provide your TTB permit.","deficiencyDate":"2022-09-22T04:07:05.487","responseDueDate":"2022-10-02T04:07:05.487","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.487","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide your TTB permit.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4721,"originalId":4721,"label":"Provide your TTB permit."},{"deficiencyDetailId":4722,"appId":'#(appId)',"deficiencyTypeId":140,"deficiencyType":"All","shortDescription":"Surrender Current License in Effect","applicationType":"All","description":"Surrender of the current license in effect.","deficiencyDate":"2022-09-22T04:07:05.493","responseDueDate":"2022-10-02T04:07:05.493","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.493","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Surrender of the current license in effect.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4722,"originalId":4722,"label":"Surrender of the current license in effect."}],"isRewritable":true,"rewriteLabel":"Edit Deficiency:","additionalComments":"","srclabel":"Select Deficiencies","dstlabel":"Add to Notification","additionalLabel":"Add Additional Deficiencies:"}},"mfccFileDataDtos":[],"notificationTypeId":2028,"combinedCraftAndMasterFileGrandTotal":null,"licenseData":{}}
1
1485
When method post
239
20:38:20.657 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner-review/saveDecision
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiOWU1ZjFjZGItYWIxNi00YzM5LWEwYjEtNWNlZmFiYjVlODY5IiwiZXhwIjoxNjY4NTUzNjYwLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.45p-Expx1Xt8BKNak9Y-zI3K5ainBGgvEmJVdvLKiGU
2 > current-wfroleid: 4
2 > Content-Type: application/json; charset=UTF-8
2 > Content-Length: 54942
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"isFingerPrintsApproved":true,"isFingerPrintsRequired":true,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"appId":14000,"applicationId":"","applicationType":2,"taskId":2059,"application":{"applicationCategory":1,"appId":14000,"applicationId":"RE-22-106380-01","licePermitTypeId":null,"applicationTypeId":2,"formVersionId":1666,"formId":1167,"legalName":"Automation20220922133655Automation","submitDate":"2022-09-22T04:06:59.267","isGISRequired":null,"licenseDescription":"Restaurant-Beer","recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":"New York","priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Additional Info Received","taskId":2059,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":true,"isHighlyDeficient":null,"isAllDeficienciesMet":false,"pastDueDate":"10\/22\/2022 12:00:00 AM","memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":3110,"appId":14000,"examinerId":1069,"name":null,"assignDate":"2022-09-22T04:07:00.5","isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":40,"type":"1","category":"1","product":"Beer","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":40,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"clericalName":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"isFairOrFestival":false,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":"2022-09-22T04:07:04.213"},"newComments":"","defineDeficiencies":{"isHighlyDeficientApplication":null,"isAllDeficienciesMet":false,"isFinalDeficiency":true},"approvedRenewal":{},"hasErrors":[],"emailNotificationModel":{"applicant":{"communicationId":18448,"email":"automation@svam.com","appId":14000,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":""}},"recommendedDecisionId":null,"decisionType":{"name":"No And Define Final Deficiency","value":10,"isChecked":null},"erDeficiencies":{"deficiencies":[],"descriptions":[],"deficienciesList":[],"selectInput":{"fromFields":[{"id":4,"label":"Applicant Name doesnt match Filing Receipt","fullText":"As the applicant is a corporation, LLC or LLP, the applicant name must be the same as the name on the filing receipt."},{"id":5,"label":"Secretary of State filing receipt missing","fullText":"Submit a copy of the Secretary of State filing receipt for the corp\/LLC\/LLP"},{"id":6,"label":"Corporate Minutes Missing","fullText":"Provide a copy of the corporate minutes for the applicant entity"},{"id":7,"label":"LLC Operating Agreement Missing","fullText":"Provide a copy of the LLC operating agreement for the applicant entity"},{"id":8,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":9,"label":"Prem Address does not match Lease","fullText":"Premises address does not match the address listed on lease."},{"id":10,"label":"Prem Address does not match bill of sale","fullText":"Premises address does not match the address listed on the bill of sale."},{"id":11,"label":"PremAddress does not match deed","fullText":"Premises address does not match the address listed on the deed."},{"id":12,"label":"Prem address not same on all docs or physical loc. ","fullText":"Premises address must be written the same on all documents and must be the physical location of the premises (not the mailing address)."},{"id":13,"label":"Missing NOA\/Attorney\/Rep","fullText":"Submit a Notice of Appearance or the attorney or representative."},{"id":14,"label":"Lease Missing","fullText":"Entity owning real property does not match applicant name \u2013 A lease between the two parties is required and must be submitted. "},{"id":15,"label":"Lease Term Incorrect","fullText":"The lease must run the full term of the license period (please take processing time into consideration when determining the end date of the lease). Provide either a new lease document or an amendment\/rider to the existing one (signed by both landlord and tenant). "},{"id":16,"label":"Landlord Name Missing from Deed","fullText":"Landlord name must be the name shown on the deed."},{"id":17,"label":"Landlord Principals Missing","fullText":"All principals of the landlord entity must be listed."},{"id":18,"label":"Deed Missing","fullText":"To verify ownership, submit a copy of the deed."},{"id":19,"label":"Source of Funds Missing","fullText":"The source of ALL funds (cash and borrowed) must be listed on this form."},{"id":20,"label":"Financial Docs Missing","fullText":"Submit financial documentation proving the availability of the funds listed. You must submit 3 consecutive months-worth of statements from checking or savings accounts showing the availability of the funds at the time they were expended."},{"id":21,"label":"Executed Loan Agreements Missing","fullText":"Submit a copy of all executed loan agreements. "},{"id":22,"label":"500 foot Premises Missing","fullText":"Provide the name and address of all on premises liquor establishments located within 500 feet of your establishment."},{"id":23,"label":"500 Foot Statement Missing","fullText":"Provide a statement addressing why you believe it would be in the public's interest to issue this license."},{"id":24,"label":"Statement of Area Plan Missing","fullText":"Please complete the Statement of Area Plan form"},{"id":25,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":26,"label":"","fullText":"Please list gender on _________'s personal questionnaire."},{"id":27,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":28,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":29,"label":"Amend License history for {}","fullText":"________________ has\/had license history with the Authority. Amend question five to reflect all license history."},{"id":30,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":31,"label":"Label all Rooms and Bars","fullText":"Amend the diagram labeling all rooms and bars"},{"id":32,"label":"Include Food Prep Area","fullText":"Amend the diagram to include the food prep area"},{"id":33,"label":"Diagram of Basement Missing","fullText":"Provide a diagram of the basement"},{"id":34,"label":"Block Plot Diagram Missing","fullText":"Provide a block plot diagram"},{"id":35,"label":"Outside Area Diagram Missing","fullText":"Add the outside area to the diagram "},{"id":36,"label":"Interior Color Photos Missing","fullText":"Submit color photos of the interior of the premises including all dining areas, the bar and at least one of the kitchen. Place the serial number on the back of each photo."},{"id":37,"label":"Front Exterior Color Photo Missing","fullText":"Submit one color photo of the front exterior of the premises. Place the serial number on the back of the photo."},{"id":38,"label":"Outside Area Color Photo Missing","fullText":"Submit color photos of any outside area (deck, patio, yard) to be licensed. The photos must show how the area is contained (fencing, shrubbery, roping off). Place the serial number on the back of the photos."},{"id":39,"label":"Applicant Color Photo Missing","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":40,"label":"Photo ID for {} Missing","fullText":"Provide a copy of ____________'s photo identification."},{"id":41,"label":"Menu Missing","fullText":"Submit a copy of the menu."},{"id":42,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":43,"label":"Additional Restroom Required","fullText":"You have listed 1 restroom. The Rules of the State Liquor Authority require 2 separate restrooms for both sexes. Please submit a request to the Authority asking for a waiver of the 2-restroom rule. You must explain why you believe one restroom is sufficient for the operation of your establishment."},{"id":44,"label":"Maximum Occupancy Cert Missing","fullText":"Submit a copy of the maximum occupancy certificate."},{"id":45,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted. "},{"id":46,"label":"Applicant Photo Missing","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":47,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted."},{"id":48,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":49,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":50,"label":"Gender missing on {}'s PQ","fullText":"Please list gender on _________'s personal questionnaire."},{"id":51,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":52,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":53,"label":"Amend License history for {}","fullText":"________________ has\/had license history with the Authority. Amend question five to reflect all license history."},{"id":54,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":55,"label":"Current Diagram Missing","fullText":"Provide a current diagram \u2013 showing what the premises looks like before the proposed changes to be made."},{"id":56,"label":"Proposed Diagram Missing","fullText":"Provide a proposed diagram \u2013 showing what the premises will look like after the changes are complete."},{"id":57,"label":"Block Plot Diagram Missing","fullText":"Provide a block plot diagram."},{"id":58,"label":"Outside Area Diagram Missing","fullText":"Add the outside area to the proposed diagram."},{"id":59,"label":"Building Permit Missing","fullText":"Provide a copy of the building permit."},{"id":60,"label":"Area to be Altered Photos Missing","fullText":"Provide photos of the area to be altered."},{"id":61,"label":"Lease of New Area Missing","fullText":"Provide a copy of the lease for the proposed new area."},{"id":62,"label":"New Premises Establishment Q. Missing","fullText":"Provide a completed establishment questionnaire for the new proposed premises."},{"id":63,"label":"Add Bar Application Missing","fullText":"You are adding a new bar to the premises, please provide an additional bar application along with $__________."},{"id":64,"label":"Proof of Finances Misses","fullText":"Provide proof of finances."},{"id":65,"label":"Part 1 Principals Missing","fullText":"List all current principals in Part 1."},{"id":66,"label":"Part 2 Principals Missing","fullText":"List all proposed (current and new) principals in Part 2."},{"id":67,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":68,"label":"Contract\/Bill of Sale for Stocks\/Shares Missing","fullText":"Provide a copy of the contract or bill of sale for the stock\/shares being sold."},{"id":69,"label":"Gift Letter Missing","fullText":"Provide a gift letter for the stock\/shares being gifted."},{"id":70,"label":"Death Certificate Missing","fullText":"Provide a copy of the death certificate."},{"id":71,"label":"Last will and Testament Missing","fullText":"Provide a copy of the Last Will & Testament."},{"id":72,"label":"Letters of Testamony or Administration Missing","fullText":"Provide a copy of any Letters of Testamentary or Letters of Administration."},{"id":73,"label":"Applicant's Statement missing","fullText":"Provide a copy of the applicant's statement completed by all new principals."},{"id":74,"label":"Personal Questionnaire Missing","fullText":"Provide a personal questionnaire for any new individuals."},{"id":75,"label":"Proof of Finances Missing","fullText":"Provide proof of finances."},{"id":76,"label":"Standardized Notice Form Missing","fullText":"Provide a copy of the completed standardized notice form and proof of mailing to the community board."},{"id":77,"label":"Corporate Minutes Missing","fullText":"Provide a copy of the corporate minutes appointing new officers."},{"id":78,"label":"Amended Operating Agreement Missing","fullText":"Provide a copy of the amended operating agreement for the LLC listing all officers."},{"id":79,"label":"Applicant Photo Missing for {}","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":81,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":82,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":83,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":84,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":85,"label":"Amend License history for {}","fullText":"________________ has\/had license history with the Authority. Amend question five to reflect all license history."},{"id":86,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":87,"label":"Contract\/Bill of Sale for interest sold Missing","fullText":"Provide a copy of the contract or bill of sale for the interest being sold."},{"id":88,"label":"Gift Letter Missing","fullText":"Provide a gift letter for the interest being gifted."},{"id":89,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":90,"label":"Death Certificate Missing","fullText":"Provide a copy of the death certificate."},{"id":91,"label":"Last will and Testament Missing","fullText":"Provide a copy of the Last Will & Testament"},{"id":92,"label":"Letters of Testamony or Administration Missing","fullText":"Provide a copy of any Letters of Testamentary or Letters of Administration"},{"id":93,"label":"Applicant's Statement missing","fullText":"Provide a copy of the applicant's statement completed by each new individual or partner"},{"id":94,"label":"Proof of Finances Missing","fullText":"Provide proof of finances."},{"id":95,"label":"Management Agreement Missing","fullText":"Provide a copy of the management agreement."},{"id":96,"label":"Personal Questionnaire Missing","fullText":"Provide a personal questionnaire for any new individuals."},{"id":97,"label":"911 or Municipality Letter Missing","fullText":"Provide a copy of the 911 or letter from the municipality changing the premises address."},{"id":98,"label":"Bond Rider for Premises Address Missing","fullText":"Provide a copy of the bond rider amending the premises address."},{"id":99,"label":"Amended Certificate of Authority Missing","fullText":"Provide a copy of the amended Certificate of Authority reflecting the new information."},{"id":100,"label":"Marriage Cert Missing","fullText":"Provide a copy of the marriage certificate."},{"id":101,"label":"Divorce Decree Missing","fullText":"Provide a copy of the divorce decree."},{"id":102,"label":"Assumed Name Filing Receipt Missing","fullText":"Provide a copy of the Assumed Name filing receipt from the Secretary of State."},{"id":103,"label":"Corporate Name Filing Receipt Missing","fullText":"Provide a copy of the Amended Corporate Name filing receipt from the Secretary of State."},{"id":104,"label":"Court Authorization Docs Missing","fullText":"Provide a copy of documentation of Court Authorization."},{"id":105,"label":"Business Certificate Missing","fullText":"Provide a copy of the amended or new Business Certificate from the county clerk's office."},{"id":106,"label":"Amended Operating Agreement Missing","fullText":"Provide a copy of the amended operating agreement for the LLC, listing all officers."},{"id":107,"label":"Holding Corp Stipulation Missing","fullText":"Provide a holding corporation stipulation."},{"id":108,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":109,"label":"Bond Rider for New Name Missing","fullText":"Provide a bond rider reflecting the new name."},{"id":110,"label":"Applicant Photo Missing for {}","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":111,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted."},{"id":112,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":113,"label":"Personal Quetionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":115,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":116,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":117,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":118,"label":"Amend License history for {}","fullText":"________________ has\/had license history with the Authority. Amend question five to reflect all license history."},{"id":119,"label":"Statement of Changes Missing","fullText":"Provide a statement explaining the changes being requested."},{"id":120,"label":"Method of Operatiom Missing","fullText":"Provide a Method of Operation"},{"id":121,"label":"Standardized Notice Form Missing","fullText":"Provide a standardized notice form and proof of mailing sent to the municipality or community board notifying them of the proposed changes."},{"id":122,"label":"Supporting Municiaplity or CB Letter Missing","fullText":"Provide a letter from the municipality or community board advising that they support the proposed changes."},{"id":123,"label":"Additional Funds Required","fullText":"Additional Funds Required"},{"id":124,"label":"Bond Missing","fullText":"Submit the Bond."},{"id":125,"label":"Bond not Signed","fullText":"Signt the Bond."},{"id":126,"label":"All Approved Principals Missing","fullText":"List all the principals approved to be on the license in the corporate section of the renewal application."},{"id":127,"label":"Standardized Notice Form Missing","fullText":"Submit a copy of the 30 day Standardized Notification form sent to the Community Board."},{"id":128,"label":"Proof of Mailing for Standardized Notice","fullText":"Submit a copy of the proof of mailing for the Standardized Notification form. "},{"id":129,"label":"Provide Assumed Name Certificate for DBA","fullText":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC's dba name."},{"id":130,"label":"Provde Business Cert for DBA","fullText":"Provide a copy of the business certificate from the county clerk for your dba name."},{"id":131,"label":"Provide FEIN","fullText":"Provide your federal tax identification number."},{"id":132,"label":"Provide Certificate of Authority DTF","fullText":"Provide a copy of your Certificate of Authority from the New York State Tax Department."},{"id":133,"label":"Provide Amended Cert of Auth. - Name does not Match","fullText":"Provide an amended Certificate of Authority \u2013 the name must match the applicant name exactly."},{"id":134,"label":"Provide Amended Cert of Auth.- Address does not Match","fullText":"Provide an amended Certificate of Authority \u2013 the address must match the premises address exactly."},{"id":135,"label":"Provide bond rider amending {}","fullText":"Provide a signed Bond Rider amending _______."},{"id":136,"label":"Provide Worker's Comp and Disablity Names and Policy No. ","fullText":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers."},{"id":137,"label":"Provide Inventory to be Purchased","fullText":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee."},{"id":138,"label":"Provide Newspaper Affidavits","fullText":"Submit a copy of the Newspaper Affidavit(s)."},{"id":139,"label":"Provide your TTB Permit","fullText":"Provide your TTB permit."},{"id":140,"label":"Surrender Current License in Effect","fullText":"Surrender of the current license in effect."},{"id":141,"label":"Edits to Curriculum","fullText":"Make the edits listed below to the curriculum."},{"id":142,"label":"Curriculum too General","fullText":"The submitted Curriculum generally covers the required topics. However, the below changes must be made to ensure that the persons taking the course understand their rights, obligations, and liabilities under New York law."},{"id":143,"label":"Direct Delivery Missing","fullText":"The licensee's and server's responsibility to not sell, deliver or give alcohol to someone under the age of 21 (ABC Law 65)."},{"id":144,"label":"Redelivery Missing","fullText":"The licensee's and server's responsibility when serving more than one drink to an individual to be aware of any redelivery by the legal patron (on-premises only)."},{"id":145,"label":"Reasonable Supervision Missing","fullText":"The licensee's and server's responsibility to reasonably supervise the premises."},{"id":146,"label":"Right to Refuse Missing","fullText":"The licensee's and server's right to refuse to sell, including but not limited to, an underage patron, an intoxicated patron, or a patron without proper identification."},{"id":147,"label":"Burden of Reasonable Reliance Missing","fullText":"The licensee's and server's burden to establish that a delivery of alcohol was made in a reasonable reliance upon written evidence of age."},{"id":148,"label":"Forms of Identification Missing","fullText":"The forms of identification which may be legally accepted as written evidence of age (ABC Law 65-b.2)."},{"id":149,"label":"ID Features Missing","fullText":"Key features of the valid forms of identification and the way false and fraudulent forms of identification may be detected."},{"id":150,"label":"Devices and Manuals Missing","fullText":"Devices and manuals which may be used to aid in the detection of false and fraudulent written evidence of age, and information regarding the way such devises and manuals may be obtained."},{"id":151,"label":"Criminal Penalties Missing","fullText":"The criminal liabilities and penalties for both the individual and the establishment for unlawfully dealing with a child (Penal Law 260.20)."},{"id":152,"label":"Civil Liabilities Missing","fullText":"The civil liabilities, general liabilities, responsibilities and general obligations (General Obligations Law 11-100 and 11-101)."},{"id":153,"label":"Firsthand Accounts Missing","fullText":"Firsthand accounts from the public illustrating the consequences of the failure of licensees and\/or servers to operate in a safe, legal and responsible manner. (i.e., MADD, RID, and Shattered Lives)."},{"id":154,"label":"Course Access","fullText":"Provide the New York State Liquor Authority with access to the online course for review."},{"id":155,"label":"Applicant website","fullText":"Remove the following content from the applicants' website:"},{"id":156,"label":"Legal Name Missing","fullText":"Provide the legal name of the applicant."},{"id":157,"label":"Mailing Address","fullText":"Provide the mailing address of the applicant."},{"id":158,"label":"Federal ID Number","fullText":"Provide the federal id number of the applicant."},{"id":159,"label":"Applicant's phone","fullText":"Provide the applicant's contact phone number."},{"id":160,"label":"Applicant's Email","fullText":"Provide the applicant's email address."},{"id":161,"label":"Director's Name","fullText":"Provide the director's name."},{"id":162,"label":"Director's Phone","fullText":"Provide the director's phone number."},{"id":163,"label":"Director's Email","fullText":"Provide the director's email address."},{"id":164,"label":"Program Box","fullText":"Designate the format of the course. The Alcoholic Beverage Control Law states that the course be taught via online, classroom, or distance learning. An ATAP course can be offered in multiple formats."},{"id":165,"label":"Late Renewal","fullText":"Late Renewal"}],"toFields":[{"id":-1,"label":"Applicant Photo Missing","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________.","originalId":46},{"id":-2,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted. ","originalId":45},{"id":-3,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________.","originalId":48},{"id":-4,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________.","originalId":49},{"id":-5,"label":"Gender missing on {}'s PQ","fullText":"Please list gender on _________'s personal questionnaire.","originalId":50},{"id":-6,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years.","originalId":51},{"id":-7,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected.","originalId":52},{"id":-8,"label":"Amend License history for {}","fullText":"________________ has\/had license history with the Authority. Amend question five to reflect all license history.","originalId":53},{"id":-9,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities.","originalId":54},{"id":-10,"label":"Additional Funds Required","fullText":"Additional Funds Required","originalId":123},{"id":-11,"label":"Provide Assumed Name Certificate for DBA","fullText":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC's dba name.","originalId":129},{"id":-12,"label":"Provde Business Cert for DBA","fullText":"Provide a copy of the business certificate from the county clerk for your dba name.","originalId":130},{"id":-13,"label":"Provide FEIN","fullText":"Provide your federal tax identification number.","originalId":131},{"id":-14,"label":"Provide Certificate of Authority DTF","fullText":"Provide a copy of your Certificate of Authority from the New York State Tax Department.","originalId":132},{"id":-15,"label":"Provide Amended Cert of Auth. - Name does not Match","fullText":"Provide an amended Certificate of Authority \u2013 the name must match the applicant name exactly.","originalId":133},{"id":-16,"label":"Provide Amended Cert of Auth.- Address does not Match","fullText":"Provide an amended Certificate of Authority \u2013 the address must match the premises address exactly.","originalId":134},{"id":-17,"label":"Provide bond rider amending {}","fullText":"Provide a signed Bond Rider amending _______.","originalId":135},{"id":-18,"label":"Provide Worker's Comp and Disablity Names and Policy No. ","fullText":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers.","originalId":136},{"id":-19,"label":"Provide Inventory to be Purchased","fullText":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee.","originalId":137},{"id":-20,"label":"Provide Newspaper Affidavits","fullText":"Submit a copy of the Newspaper Affidavit(s).","originalId":138},{"id":-21,"label":"Provide your TTB Permit","fullText":"Provide your TTB permit.","originalId":139},{"id":-22,"label":"Surrender Current License in Effect","fullText":"Surrender of the current license in effect.","originalId":140},{"deficiencyDetailId":4701,"appId":14000,"deficiencyTypeId":46,"deficiencyType":"ABC Officer","shortDescription":"Applicant Photo Missing","applicationType":"Amendments","description":"Provide a color photo of the applicant (no smaller than passport size) for _______________.","deficiencyDate":"2022-09-22T04:07:05.363","responseDueDate":"2022-10-02T04:07:05.363","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.363","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a color photo of the applicant (no smaller than passport size) for _______________.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4701,"originalId":4701,"label":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"deficiencyDetailId":4702,"appId":14000,"deficiencyTypeId":47,"deficiencyType":"ABC Officer","shortDescription":"Fingerprints needed for {}","applicationType":"Amendments","description":"______________________ needs to be fingerprinted.","deficiencyDate":"2022-09-22T04:07:05.367","responseDueDate":"2022-10-02T04:07:05.367","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.367","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"______________________ needs to be fingerprinted.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4702,"originalId":4702,"label":"______________________ needs to be fingerprinted."},{"deficiencyDetailId":4703,"appId":14000,"deficiencyTypeId":48,"deficiencyType":"ABC Officer","shortDescription":"Proof of Citizenship Missing for {}","applicationType":"Amendments","description":"Provide proof of citizenship for _________________.","deficiencyDate":"2022-09-22T04:07:05.373","responseDueDate":"2022-10-02T04:07:05.373","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.373","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide proof of citizenship for _________________.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4703,"originalId":4703,"label":"Provide proof of citizenship for _________________."},{"deficiencyDetailId":4704,"appId":14000,"deficiencyTypeId":49,"deficiencyType":"ABC Officer","shortDescription":"Personal Questionnaire missing for {}","applicationType":"Amendments","description":"Provide a personal questionnaire for __________________.","deficiencyDate":"2022-09-22T04:07:05.377","responseDueDate":"2022-10-02T04:07:05.377","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.377","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a personal questionnaire for __________________.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4704,"originalId":4704,"label":"Provide a personal questionnaire for __________________."},{"deficiencyDetailId":4705,"appId":14000,"deficiencyTypeId":50,"deficiencyType":"ABC Officer","shortDescription":"Gender missing on {}'s PQ","applicationType":"Amendments","description":"Please list gender on _________'s personal questionnaire.","deficiencyDate":"2022-09-22T04:07:05.383","responseDueDate":"2022-10-02T04:07:05.383","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.383","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Please list gender on _________'s personal questionnaire.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4705,"originalId":4705,"label":"Please list gender on _________'s personal questionnaire."},{"deficiencyDetailId":4706,"appId":14000,"deficiencyTypeId":51,"deficiencyType":"ABC Officer","shortDescription":"Residence Address (past) Missing","applicationType":"Amendments","description":"Provide residence addresses for the last 5 consecutive years.","deficiencyDate":"2022-09-22T04:07:05.39","responseDueDate":"2022-10-02T04:07:05.39","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.39","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide residence addresses for the last 5 consecutive years.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4706,"originalId":4706,"label":"Provide residence addresses for the last 5 consecutive years."},{"deficiencyDetailId":4707,"appId":14000,"deficiencyTypeId":52,"deficiencyType":"ABC Officer","shortDescription":"Employment Info (past) Missing","applicationType":"Amendments","description":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected.","deficiencyDate":"2022-09-22T04:07:05.397","responseDueDate":"2022-10-02T04:07:05.397","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.397","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4707,"originalId":4707,"label":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"deficiencyDetailId":4708,"appId":14000,"deficiencyTypeId":53,"deficiencyType":"ABC Officer","shortDescription":"Amend License history for {}","applicationType":"Amendments","description":"________________ has\/had license history with the Authority. Amend question five to reflect all license history.","deficiencyDate":"2022-09-22T04:07:05.4","responseDueDate":"2022-10-02T04:07:05.4","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.4","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"________________ has\/had license history with the Authority. Amend question five to reflect all license history.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4708,"originalId":4708,"label":"________________ has\/had license history with the Authority. Amend question five to reflect all license history."},{"deficiencyDetailId":4709,"appId":14000,"deficiencyTypeId":54,"deficiencyType":"ABC Officer","shortDescription":"Conviction Record found for {}","applicationType":"Amendments","description":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities.","deficiencyDate":"2022-09-22T04:07:05.407","responseDueDate":"2022-10-02T04:07:05.407","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.407","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4709,"originalId":4709,"label":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"deficiencyDetailId":4711,"appId":10376,"deficiencyTypeId":129,"deficiencyType":"All","shortDescription":"Provide Assumed Name Certificate for DBA","applicationType":"All","description":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC's dba name.","deficiencyDate":"2022-09-22T04:07:05.42","responseDueDate":"2022-10-02T04:07:05.42","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.42","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC's dba name.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4711,"originalId":4711,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC's dba name."},{"deficiencyDetailId":4712,"appId":14000,"deficiencyTypeId":130,"deficiencyType":"All","shortDescription":"Provde Business Cert for DBA","applicationType":"All","description":"Provide a copy of the business certificate from the county clerk for your dba name.","deficiencyDate":"2022-09-22T04:07:05.427","responseDueDate":"2022-10-02T04:07:05.427","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.427","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a copy of the business certificate from the county clerk for your dba name.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4712,"originalId":4712,"label":"Provide a copy of the business certificate from the county clerk for your dba name."},{"deficiencyDetailId":4713,"appId":14000,"deficiencyTypeId":131,"deficiencyType":"All","shortDescription":"Provide FEIN","applicationType":"All","description":"Provide your federal tax identification number.","deficiencyDate":"2022-09-22T04:07:05.433","responseDueDate":"2022-10-02T04:07:05.433","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.433","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide your federal tax identification number.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4713,"originalId":4713,"label":"Provide your federal tax identification number."},{"deficiencyDetailId":4714,"appId":14000,"deficiencyTypeId":132,"deficiencyType":"All","shortDescription":"Provide Certificate of Authority DTF","applicationType":"All","description":"Provide a copy of your Certificate of Authority from the New York State Tax Department.","deficiencyDate":"2022-09-22T04:07:05.437","responseDueDate":"2022-10-02T04:07:05.437","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.437","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a copy of your Certificate of Authority from the New York State Tax Department.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4714,"originalId":4714,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department."},{"deficiencyDetailId":4715,"appId":14000,"deficiencyTypeId":133,"deficiencyType":"All","shortDescription":"Provide Amended Cert of Auth. - Name does not Match","applicationType":"All","description":"Provide an amended Certificate of Authority \u2013 the name must match the applicant name exactly.","deficiencyDate":"2022-09-22T04:07:05.447","responseDueDate":"2022-10-02T04:07:05.447","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.447","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide an amended Certificate of Authority \u2013 the name must match the applicant name exactly.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4715,"originalId":4715,"label":"Provide an amended Certificate of Authority \u2013 the name must match the applicant name exactly."},{"deficiencyDetailId":4716,"appId":14000,"deficiencyTypeId":134,"deficiencyType":"All","shortDescription":"Provide Amended Cert of Auth.- Address does not Match","applicationType":"All","description":"Provide an amended Certificate of Authority \u2013 the address must match the premises address exactly.","deficiencyDate":"2022-09-22T04:07:05.453","responseDueDate":"2022-10-02T04:07:05.453","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.453","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide an amended Certificate of Authority \u2013 the address must match the premises address exactly.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4716,"originalId":4716,"label":"Provide an amended Certificate of Authority \u2013 the address must match the premises address exactly."},{"deficiencyDetailId":4717,"appId":14000,"deficiencyTypeId":135,"deficiencyType":"All","shortDescription":"Provide bond rider amending {}","applicationType":"All","description":"Provide a signed Bond Rider amending _______.","deficiencyDate":"2022-09-22T04:07:05.46","responseDueDate":"2022-10-02T04:07:05.46","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.46","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a signed Bond Rider amending _______.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4717,"originalId":4717,"label":"Provide a signed Bond Rider amending _______."},{"deficiencyDetailId":4718,"appId":14000,"deficiencyTypeId":136,"deficiencyType":"All","shortDescription":"Provide Worker's Comp and Disablity Names and Policy No. ","applicationType":"All","description":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers.","deficiencyDate":"2022-09-22T04:07:05.467","responseDueDate":"2022-10-02T04:07:05.467","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.467","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4718,"originalId":4718,"label":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers."},{"deficiencyDetailId":4719,"appId":14000,"deficiencyTypeId":137,"deficiencyType":"All","shortDescription":"Provide Inventory to be Purchased","applicationType":"All","description":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee.","deficiencyDate":"2022-09-22T04:07:05.473","responseDueDate":"2022-10-02T04:07:05.473","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.473","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4719,"originalId":4719,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee."},{"deficiencyDetailId":4720,"appId":14000,"deficiencyTypeId":138,"deficiencyType":"All","shortDescription":"Provide Newspaper Affidavits","applicationType":"All","description":"Submit a copy of the Newspaper Affidavit(s).","deficiencyDate":"2022-09-22T04:07:05.48","responseDueDate":"2022-10-02T04:07:05.48","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.48","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Submit a copy of the Newspaper Affidavit(s).","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4720,"originalId":4720,"label":"Submit a copy of the Newspaper Affidavit(s)."},{"deficiencyDetailId":4721,"appId":14000,"deficiencyTypeId":139,"deficiencyType":"All","shortDescription":"Provide your TTB Permit","applicationType":"All","description":"Provide your TTB permit.","deficiencyDate":"2022-09-22T04:07:05.487","responseDueDate":"2022-10-02T04:07:05.487","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.487","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide your TTB permit.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4721,"originalId":4721,"label":"Provide your TTB permit."},{"deficiencyDetailId":4722,"appId":14000,"deficiencyTypeId":140,"deficiencyType":"All","shortDescription":"Surrender Current License in Effect","applicationType":"All","description":"Surrender of the current license in effect.","deficiencyDate":"2022-09-22T04:07:05.493","responseDueDate":"2022-10-02T04:07:05.493","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.493","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Surrender of the current license in effect.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4722,"originalId":4722,"label":"Surrender of the current license in effect."}],"isRewritable":true,"rewriteLabel":"Edit Deficiency:","additionalComments":"","srclabel":"Select Deficiencies","dstlabel":"Add to Notification","additionalLabel":"Add Additional Deficiencies:"}},"mfccFileDataDtos":[],"notificationTypeId":2028,"combinedCraftAndMasterFileGrandTotal":null,"licenseData":{}}
20:38:20.891 response time in milliseconds: 234
2 < 450
2 < Cache-Control: no-cache
2 < Pragma: no-cache
2 < Transfer-Encoding: chunked
2 < Content-Type: application/json
2 < Expires: -1
2 < Server: Microsoft-IIS/10.0
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:08:20 GMT
{
"statusCode": 450,
"message": "7d65c939deb0 : Current task is not valid"
}
1486
Then status 200
0
20:38:20.893 classpath:karate/UseCases/RenewalCommonMethods.feature:1486
Then status 200
status code was: 450, expected: 200, response time in milliseconds: 234, url: https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner-review/saveDecision, response:
{
"statusCode": 450,
"message": "7d65c939deb0 : Current task is not valid"
}
classpath:karate/UseCases/RenewalCommonMethods.feature:1486
1487
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
0
363
* def approvedStatus = true
0
365
* call read('RenewalCommonMethods.feature@RenewalChangeDueDateExtension'){}
0
Scenario: [4:371]
TC0001a_SLA_REN_Duedate_Extension_Approve_Respond_Deficiencies_Permit
ms: 32043
>>
Background:
3
* url BaseURL
0
20:38:20.911 karate.env system property was: svamqa
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def amendmentTypeId = 1
0
8
* callonce read('LoginDetails.feature') { strToken:'#(strToken)'}
26
9
* def getcorporateStructureCodeFunc =
0
function(value){
if (value === 'Individual'){
return 1;
}
else {
return 2;
}
}
20
* def getStatusIndOrgStatus =
0
function(value){
if (value === 'Individual'){
return true;
}
else {
return false;
}
}
31
* def getIndORgCodeFunc =
0
function(value1, value2){
if (value1 == 1 && value2 == 'Individual'){
return 1;
}
else if (value1 == 1 && value2 == 'Sole Propretior'){
return 2;
}
else if (value1 == 2 && value2 == 'Individual'){
return 1;
}
else if (value1 == 2 && value2 == 'Limited Liability Company'){
return 2;
}else if (value1 == 2 && value2 == 'Corporation'){
return 3;
}else if (value1 == 2 && value2 == 'Limited Liability Partnership'){
return 4;
}else if (value1 == 2 && value2 == 'Limited Partnership'){
return 5;
}else if (value1 == 2 && value2 == 'Partnership'){
return 6;
}else if (value1 == 2 && value2 == 'Government'){
return 7;
}else if (value1 == 2 && value2 == 'Sole Propretior'){
return 8;
}else if (value1 == 2 && value2 == 'Trust'){
return 9;
}else if (value1 == 2 && value2 == 'Estate'){
return 10;
}
else {
return 1;
}
}
68
* def getAmendmentTypeIdFunc =
0
function(amendmentType){
if (amendmentType == 'ABC Officer'){
return 1;
}
else if (amendmentType == 'Additional Bar'){
return 2;
}
else if (amendmentType == 'Alteration'){
return 3;
}
else if (amendmentType == 'Alteration with Additional Bar'){
return 3;
}
}
87
* def waitFunc =
0
function(timeinMiliSeconds) {
// load java type into js engine
var Thread = Java.type('java.lang.Thread');
Thread.sleep(timeinMiliSeconds*1000);
}
95
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
106
* def fundDueDateFuncRenewal =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
118
* def getMMMMDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("MMMM dd, yyyy");
var date = new java.util.Date();
return sdf.format(date);
}
128
* def mmmmdate = getMMMMDate()
1
130
* def getMMYYDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("MM/dd/yyyy");
var date = new java.util.Date();
return sdf.format(date);
}
140
* def mmyydate = getMMYYDate()
0
142
* def getFundDueDateMMYYDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("MM/dd/yyyy");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
154
* def mmyydateFundDueDate = getFundDueDateMMYYDate(7)
1
156
* def dateFnc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date( date.getTime() - java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
## ******************** UC_RenewalExaminerReview: Validate TC0001a_SLA_REN_Duedate_Extension_Approve_Respond_Deficiencies_Permit Scenario Start ***************************##
373
* call read('Uc_RenewalDueDate.feature@SLA_REN_Permit_AssignToExaminer') {}
31392
>>
karate.UseCases.Uc_RenewalDueDate
30248
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def amendmentTypeId = 1
0
8
* callonce read('LoginDetails.feature') { strToken:'#(strToken)'}
27
9
* def getcorporateStructureCodeFunc =
0
function(value){
if (value === 'Individual'){
return 1;
}
else {
return 2;
}
}
20
* def getStatusIndOrgStatus =
0
function(value){
if (value === 'Individual'){
return true;
}
else {
return false;
}
}
31
* def getIndORgCodeFunc =
0
function(value1, value2){
if (value1 == 1 && value2 == 'Individual'){
return 1;
}
else if (value1 == 1 && value2 == 'Sole Propretior'){
return 2;
}
else if (value1 == 2 && value2 == 'Individual'){
return 1;
}
else if (value1 == 2 && value2 == 'Limited Liability Company'){
return 2;
}else if (value1 == 2 && value2 == 'Corporation'){
return 3;
}else if (value1 == 2 && value2 == 'Limited Liability Partnership'){
return 4;
}else if (value1 == 2 && value2 == 'Limited Partnership'){
return 5;
}else if (value1 == 2 && value2 == 'Partnership'){
return 6;
}else if (value1 == 2 && value2 == 'Government'){
return 7;
}else if (value1 == 2 && value2 == 'Sole Propretior'){
return 8;
}else if (value1 == 2 && value2 == 'Trust'){
return 9;
}else if (value1 == 2 && value2 == 'Estate'){
return 10;
}
else {
return 1;
}
}
68
* def getAmendmentTypeIdFunc =
0
function(amendmentType){
if (amendmentType == 'ABC Officer'){
return 1;
}
else if (amendmentType == 'Additional Bar'){
return 2;
}
else if (amendmentType == 'Alteration'){
return 3;
}
else if (amendmentType == 'Alteration with Additional Bar'){
return 3;
}
}
87
* def waitFunc =
0
function(timeinMiliSeconds) {
// load java type into js engine
var Thread = Java.type('java.lang.Thread');
Thread.sleep(timeinMiliSeconds*1000);
}
95
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
106
* def fundDueDateFuncRenewal =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
118
* def getMMMMDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("MMMM dd, yyyy");
var date = new java.util.Date();
return sdf.format(date);
}
128
* def mmmmdate = getMMMMDate()
1
130
* def getMMYYDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("MM/dd/yyyy");
var date = new java.util.Date();
return sdf.format(date);
}
140
* def mmyydate = getMMYYDate()
0
142
* def getFundDueDateMMYYDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("MM/dd/yyyy");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
154
* def mmyydateFundDueDate = getFundDueDateMMYYDate(7)
0
156
* def dateFnc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date( date.getTime() - java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
262
* def IndOrgSelectionDropDown = 'Individual'
0
263
* def indOrgCode = getIndORgCodeFunc(IndOrgSelectionDropDown)
0
264
And print indOrgCode
0
20:38:22.107 [print] 1
265
* def isIndStatus = getStatusIndOrgStatus(IndOrgSelectionDropDown)
0
266
* def CorporateStructureDropDown = 'Individual'
0
267
* def CorporateStructureDropDownCode = getIndORgCodeFunc(indOrgCode,CorporateStructureDropDown)
0
268
And print CorporateStructureDropDownCode
0
20:38:22.107 [print] 1
269
* def firstName = 'Automation'
0
270
* def lastName = 'Automation'
0
271
* def legalName = firstName+ ' '+lastName
0
272
* def Address1 = 'Address1'
0
273
* def Address2 = 'Address2'
0
274
* def CityName = 'New York'
0
275
* def zipCode = '12345'
0
276
* def postalCode = '1234'
0
277
* def countryName = 'United States (US)'
0
278
* def emailId = 'automation@svam.com'
0
279
* def convictedOfCrime = '1'
0
280
* def percentageOfOwners = '20'
0
281
* def isFingerprintRequired = true
0
282
* def isFingerprintsApproved = true
0
283
* def isSignature = true
0
285
* def convictedOfCrime = '1'
0
286
* def PhoneNumber = '999-999-9999'
0
287
* def PhoneExtn = 1234
0
288
* def countryCode = '+91'
0
289
* def stateCode = 40
0
291
* def mainLicensePermitTypeId = 422
0
292
* def termInYears = 3
0
293
* def termDesc = 3+' Year (s)'
1
294
* def licenseFees = 192
0
295
* def fillingFees = 20
0
296
* def licAncillaryFees = 0
0
297
* def renewalFees = 30+''
0
298
* string productName = 'Industrial alcohol'+''
0
300
* def CountyId = 12
0
301
* def CountyName = 'New York'
0
302
* def totalFees = licenseFees+fillingFees+licAncillaryFees
0
303
* def splittedCityName = CityName.replaceAll(" ","")
1
305
* call read('PermitsCommonMethods.feature@IntakeStandalonePermitwithoutLic') {}
637
>>
karate.UseCases.PermitsCommonMethods
552
4
* url BaseURL
0
5
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
6
* def DbUtils = Java.type('utils.DbUtils')
0
7
* def db = new DbUtils(config)
0
8
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
18
* def date = getDate2()
0
19
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
28
* def fundDueDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 7 ));
return sdf.format(dayAfter);
}
39
* def fundDueDate = fundDueDateFunc()
1
40
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
51
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
192
Given path '/internalapi/api/licensing/selectapptype/savenewpermitapp'
0
193
* def dbSts = db.cleanHeap()
394
194
And header authorization = 'Bearer ' + strToken
0
195
And header Content-Type = 'application/json; charset=utf-8'
0
196
And header Accept = 'application/json; text/plain;*/*'
0
197
And request {"businessType":"","permitType":"Standalone Permit","mainLicenseId":null,"tempPermitTypeId":[],"mainApplicationId":"","associatedLicenseList":[],"isMainTempPermitRequired":false,"newPermitTypeIds":[{"permitTypeId":'#(mainLicensePermitTypeId)'}],"isNotQualified":false,"notQualifiedReason":""}
0
198
When method post
155
20:38:22.569 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/selectapptype/savenewpermitapp
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 267
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"businessType":"","permitType":"Standalone Permit","mainLicenseId":null,"tempPermitTypeId":[],"mainApplicationId":"","associatedLicenseList":[],"isMainTempPermitRequired":false,"newPermitTypeIds":[{"permitTypeId":422}],"isNotQualified":false,"notQualifiedReason":""}
20:38:22.722 response time in milliseconds: 153
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:22 GMT
1 < Content-Length: 175
[{"appId":14001,"formId":1110,"childAppId":null,"mainApplicationId":"NA-0566-22-19161","childApplicationId":null,"licensePermitTypeId":422,"description":"Industrial alcohol"}]
199
Then status 200
0
200
And def ApplicationId = response[0].mainApplicationId
0
201
And print ApplicationId
0
20:38:22.723 [print] NA-0566-22-19161
202
And match ApplicationId contains 'NA-'
0
203
And def description = response[0].description
0
204
And print description
0
20:38:22.723 [print] Industrial alcohol
205
And def appId = response[0].appId
0
206
* def formId = response[0].formId
0
307
* call read('LicensesCommonMethods.feature@FillAndSaveApplicantInformationPage') {}
715
>>
karate.UseCases.LicensesCommonMethods
182
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
700
* def getDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
709
Given path '/internalapi/api/licensing/app/static/applicantinfo/save/'+appId
0
710
And header Content-Type = 'application/json; charset=utf-8'
0
712
* def autoFirstName = firstName + getDate()
0
713
* def legalName = autoFirstName + lastName
0
714
And header Accept = 'application/json; text/plain;*/*'
0
715
And header authorization = 'Bearer ' + strToken
0
716
And request {"businessInfo":{"website":null,"businessEntity":{"individualOrganization":'#(indOrgCode)',"corporateStructure":'#(CorporateStructureDropDownCode)',"firstName":'#(autoFirstName)',"lastName":'#(lastName)',"middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":'#(legalName)',"id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":'#(IndOrgSelectionDropDown)',"corporateStructureText":'#(CorporateStructureDropDown)',"isIndividual":'#(isIndStatus)'},"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"2","phoneTypeText":"Office","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
0
717
When method post
180
20:38:23.266 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/applicantinfo/save/14001
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
1 > Content-Length: 2167
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"businessInfo":{"website":null,"businessEntity":{"individualOrganization":1,"corporateStructure":1,"firstName":"Automation20221115203823","lastName":"Automation","middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":"Automation20221115203823Automation","id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":"Individual","corporateStructureText":"Individual","isIndividual":true},"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"2","phoneTypeText":"Office","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
20:38:23.445 response time in milliseconds: 179
1 < 200
1 < Content-Length: 2185
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:22 GMT
{"businessInfo":{"id":0,"website":null,"isLicensed":false,"isAssociated":false,"businessEntity":{"id":4024,"individualOrganization":"1","corporateStructure":1,"isEmployeeForSoleProprietor":null,"firstName":"Automation20221115203823","lastName":"Automation","middleName":"AutoMidName","ssn":"","fein":"","legalName":"Automation20221115203823Automation","suffix":"1","corporateStructureText":"Individual","individualOrganizationText":"Individual","isIndividual":true},"address":{"addressId":29490,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"US","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25398,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":7878,"phoneType":3,"countryCode":"91","phone":"999-999-9999","phoneExtension":"1234"}]}},"premisesInfo":{"id":13204,"dba":null,"countyId":0,"countyName":null,"isDbaSearched":null,"isPremisesRequired":true,"licensePermitID":"","address":{"addressId":29491,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"US","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25399,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":7879,"phoneType":2,"countryCode":"+91","phone":"999-999-9999","phoneExtension":"1234"}]}},"applicantDetail":{"id":9796,"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"isPhysicalChange":null,"applicantStatement":{"id":4337,"nameOfApplicant":null,"title":null,"signature":null,"date":null}}}
718
Then status 200
0
308
* call read('LicensesCommonMethods.feature@FillAndSavePrincipalPage') {}
709
>>
karate.UseCases.LicensesCommonMethods
187
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
745
* def getDate1 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
754
Given path '/internalapi/api/licensing/app/static/principal/save/'+appId
0
755
And header Content-Type = 'application/json; charset=utf-8'
0
756
* def prncipalName = firstName + getDate1()
0
757
* def dt = licDate()
0
758
And header Accept = 'application/json; text/plain;*/*'
0
759
And header authorization = 'Bearer ' + strToken
0
760
And request {"entities":[],"principals":[{"principalId":0,"convictedOfCrime":'#(convictedOfCrime)',"percentageOfOwners":'#(percentageOfOwners)',"isFingerprintRequired":'#(isFingerprintRequired)',"isFingerprintsApproved":'#(isFingerprintsApproved)',"title":"15","numberOfShares":"","isSignature":false,"date":'#(dt)',"address":{"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"stateId":'#(stateCode)',"county":'#(CountyName)',"city":"New York","zipCode":'#(zipCode)',"zip4":'#(postalCode)',"country":'#(countryName)',"stateName":'#(CityName)',"countryId":229,"zip":'#(zipCode)'},"person":{"personId":0,"firstName":'#(prncipalName)',"middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":'#(dt)',"age":"","choosedEntity":null,"ssnFormat":"","suffixText":"JR"},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":'#(emailId)',"confirmEmail":'#(emailId)'},"titleText":"Vice President","convictedOfCrimeText":"No","disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
0
# {"entities":[],"principals":[{"principalId":0,"convictedOfCrime":"" ,"percentageOfOwners":"" ,"isFingerprintRequired":true ,"isFingerprintsApproved":true ,"title":"","dcjsFingerPrintStatus":"","numberOfShares":"","isSignature":"","date":"","address":{"addressLine1":"","addressLine2":"","stateId":40,"county":"","city":"","zipCode":"","zip4":"","country":"United States (US)","stateName":"New York","countryId":229,"zip":""},"person":{"personId":0,"firstName":"XA","middleName":"","lastName":"sa","suffix":"","socialSecurityNo":"","birthDate":"","age":"","choosedEntity":null,"ssnFormat":""},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":null,"confirmEmail":null},"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
762
When method post
185
20:38:23.972 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/principal/save/14001
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
1 > Content-Length: 1107
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"entities":[],"principals":[{"principalId":0,"convictedOfCrime":"1","percentageOfOwners":"20","isFingerprintRequired":true,"isFingerprintsApproved":true,"title":"15","numberOfShares":"","isSignature":false,"date":"2022-11-15T20:38:23.971Z","address":{"addressLine1":"Address1","addressLine2":"Address2","stateId":40,"county":"New York","city":"New York","zipCode":"12345","zip4":"1234","country":"United States (US)","stateName":"New York","countryId":229,"zip":"12345"},"person":{"personId":0,"firstName":"Automation20221115203823","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T20:38:23.971Z","age":"","choosedEntity":null,"ssnFormat":"","suffixText":"JR"},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":"automation@svam.com","confirmEmail":"automation@svam.com"},"titleText":"Vice President","convictedOfCrimeText":"No","disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
20:38:24.155 response time in milliseconds: 183
1 < 200
1 < Content-Length: 1390
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:24 GMT
{"entities":[],"principals":[{"principalId":3324,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":true,"isFingerprintsApproved":true,"percentageOfOwners":20.0,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","entities":null,"numberOfShares":"","isSignature":false,"isRemove":false,"date":"2022-11-15T00:00:00","convictedOfCrime":"1","title":"15","isLicensed":false,"isAssociated":false,"person":{"personId":5641,"firstName":"Automation20221115203823","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T00:00:00","serialNo":0,"age":0,"choosedEntity":[]},"address":{"addressId":29492,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25400,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}}]}
763
Then status 200
0
309
* call read('LicensesCommonMethods.feature@FillAndSaveRepresentativePage') {}
694
>>
karate.UseCases.LicensesCommonMethods
198
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Representative *********************
790
Given path '/internalapi/api/licensing/app/static/rep/save/'+appId
0
791
And header authorization = 'Bearer ' + strToken
0
792
And request {"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":'#(CountyName)',"city":'#(CityName)',"zipCode":"10011","country":"United States (US)","stateName":'#(CityName)',"countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
0
793
When method post
196
20:38:24.664 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/rep/save/14001
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 897
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":"New York","city":"New York","zipCode":"10011","country":"United States (US)","stateName":"New York","countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
20:38:24.860 response time in milliseconds: 196
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:24 GMT
1 < Content-Length: 4
true
794
Then status 200
0
795
And def serverResponse = response
0
310
* call read('LicensesCommonMethods.feature@FeesValidation') {amount:'#(totalFees)'}
2539
>>
karate.UseCases.LicensesCommonMethods
2041
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
810
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
820
* def futureDate = futureDateFunc()
1
822
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
832
* def date = getDate2()
0
834
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
835
And header Content-Type = 'application/json; charset=utf-8'
0
836
And header Accept = 'application/json; text/plain;*/*'
0
837
And header authorization = 'Bearer ' + strToken
0
838
And request {}
0
839
When method get
245
20:38:25.358 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/14001
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:38:25.603 response time in milliseconds: 245
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:25 GMT
1 < Content-Length: 655
[{"licenseName":"Industrial alcohol","applicationId":"NA-0566-22-19161","applicationTypeId":1,"appFeesId":0,"appId":14001,"feesRefId":7170,"initialFees":0.0,"licensingFees":192.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":20.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
840
Then status 200
0
841
And def serverResponse = response
0
842
* def licTerm = serverResponse[0].term
0
843
* def licFees = serverResponse[0].licensingFees+''
0
844
* def licTermDesc = serverResponse[0].termDesc
0
845
* def licFeesRefId = serverResponse[0].feesRefId
0
846
* def licAncillaryFees = serverResponse[0].ancillaryFees+''
0
847
* def licfilingFees = serverResponse[0].filingFees+''
0
848
* def licInitialFees = serverResponse[0].initialFees
0
849
* def bndFees = serverResponse[0].bondFee
0
850
* def isBondRequired = serverResponse[0].isBondRequired
0
851
And def totalFees = serverResponse[0].licensingFees+serverResponse[0].filingFees
0
852
And print totalFees
0
20:38:25.605 [print] 212.0
855
Given path '/internalapi/api/notification/SaveNotification'
0
857
And header Content-Type = 'application/json; charset=utf-8'
0
858
And header Accept = 'application/json; text/plain;*/*'
0
859
And header authorization = 'Bearer ' + strToken
0
860
And request {"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}
0
861
When method post
243
20:38:25.606 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/notification/SaveNotification
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
2 > Content-Length: 2006
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":14001,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14001,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14001,"createdBy":"Tarun Gupta"}
20:38:25.847 response time in milliseconds: 241
2 < 200
2 < Content-Length: 5
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:08:25 GMT
false
862
Then status 200
0
863
And print response
0
20:38:25.847 [print] false
# And header Content-Type = 'application/json; charset=utf-8'
869
Given path 'internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
871
And header Accept = 'application/json; text/plain;*/*'
0
872
And header authorization = 'Bearer ' + strToken
0
874
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(amount)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(licTerm)',"termDesc":'#(licTermDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
875
When method post
199
20:38:25.849 request:
3 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/14001/false
3 > Accept: application/json; text/plain;*/*
3 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
3 > Content-Type: application/json; charset=UTF-8
3 > Content-Length: 5068
3 > Host: slaleapqaapi.svam.com
3 > Connection: Keep-Alive
3 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
3 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":14001,"slaintakeDate":"2022-11-15T20:38:25.358Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T20:38:25.358Z","amount":212}],"appFees":{"appFees":[{"licenseName":"Industrial alcohol","applicationId":"NA-0566-22-19161","applicationTypeId":1,"appFeesId":0,"appId":14001,"feesRefId":7170,"initialFees":0,"licensingFees":192,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":212.0,"filingFees":"20","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":212.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T20:38:25.356Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":14001,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14001,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14001,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":14001,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14001,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14001,"createdBy":"Tarun Gupta"},"taskId":null}
20:38:26.047 response time in milliseconds: 198
3 < 200
3 < Content-Length: 4
3 < Content-Type: application/json; charset=utf-8
3 < Server: Microsoft-IIS/10.0
3 < Strict-Transport-Security: max-age=2592000
3 < X-Powered-By: ASP.NET
3 < Date: Tue, 15 Nov 2022 15:08:25 GMT
true
876
Then status 200
0
878
Given path 'internalapi/api/licensing/fees/check-payments/get/'+appId
0
879
And header authorization = 'Bearer ' + strToken
0
880
And request {}
0
881
When method get
155
20:38:26.048 request:
4 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/check-payments/get/14001
4 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
4 > Content-Type: application/json; charset=UTF-8
4 > Content-Length: 2
4 > Host: slaleapqaapi.svam.com
4 > Connection: Keep-Alive
4 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
4 > Accept-Encoding: gzip,deflate
{}
20:38:26.203 response time in milliseconds: 155
4 < 200
4 < Content-Length: 441
4 < Content-Type: application/json; charset=utf-8
4 < Server: Microsoft-IIS/10.0
4 < Strict-Transport-Security: max-age=2592000
4 < X-Powered-By: ASP.NET
4 < Date: Tue, 15 Nov 2022 15:08:25 GMT
[{"checkDetailId":2399,"appId":14001,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T00:00:00","slaintakeDate":"2022-11-15T00:00:00","amount":212.0000,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T10:08:26.053","modifiedBy":null,"modifiedDate":null}]
882
Then status 200
0
883
And def checkDetailId = response[0].checkDetailId
0
884
And print checkDetailId
0
20:38:26.203 [print] 2399
885
* def amount = response[0].amount
0
886
* def underpaidAmount = totalFees-amount
0
888
And print 'underpaidAmount- ',underpaidAmount
0
20:38:26.203 [print] underpaidAmount- 0.0
890
Given path '/internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
891
And header Content-Type = 'application/json; charset=utf-8'
0
892
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
903
* def futureDate = futureDateFunc()
1
904
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
913
* def date = getDate2()
0
915
And header Accept = 'application/json; text/plain;*/*'
0
916
And header authorization = 'Bearer ' + strToken
0
917
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(totalFees)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":'#(licInitialFees)',"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees)',"totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":'#(licAncillaryFees)',"isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
1
920
When method post
202
20:38:26.207 request:
5 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/14001/false
5 > Content-Type: application/json; charset=utf-8
5 > Accept: application/json; text/plain;*/*
5 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
5 > Content-Length: 5065
5 > Host: slaleapqaapi.svam.com
5 > Connection: Keep-Alive
5 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
5 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":14001,"slaintakeDate":"2022-11-15T20:38:26.205Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T20:38:26.205Z","amount":212.0}],"appFees":{"appFees":[{"licenseName":"Industrial alcohol","applicationId":"NA-0566-22-19161","applicationTypeId":1,"appFeesId":0,"appId":14001,"feesRefId":7170,"initialFees":0.0,"licensingFees":192,"amendmentFees":"0.00","renewalFees":"30","totalFees":212.0,"filingFees":"20","ancillaryFees":"0","isFeesWaived":false,"underPaymentAmount":212.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T20:38:25.356Z","emailNotificationDetail":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":14001,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14001,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14001,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":14001,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14001,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14001,"createdBy":"Tarun Gupta"},"taskId":null}
20:38:26.407 response time in milliseconds: 200
5 < 200
5 < Content-Type: application/json; charset=utf-8
5 < Server: Microsoft-IIS/10.0
5 < Strict-Transport-Security: max-age=2592000
5 < X-Powered-By: ASP.NET
5 < Date: Tue, 15 Nov 2022 15:08:25 GMT
5 < Content-Length: 4
true
921
Then status 200
0
# ********* SAVE Application Details To Save *********************
928
Given path '/internalapi/api/licensing/app/save'
0
929
And header authorization = 'Bearer ' + strToken
0
930
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
931
When method post
307
20:38:26.411 request:
6 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
6 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
6 > Content-Type: application/json; charset=UTF-8
6 > Content-Length: 30723
6 > Host: slaleapqaapi.svam.com
6 > Connection: Keep-Alive
6 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
6 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":14001,"formID":1110,"applicationID":"NA-0566-22-19161","formName":"Industrial alcohol","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
20:38:26.716 response time in milliseconds: 305
6 < 200
6 < Content-Length: 50
6 < Content-Type: application/json; charset=utf-8
6 < Server: Microsoft-IIS/10.0
6 < Strict-Transport-Security: max-age=2592000
6 < X-Powered-By: ASP.NET
6 < Date: Tue, 15 Nov 2022 15:08:26 GMT
{"appId":14001,"applicationId":"NA-0566-22-19161"}
932
Then status 200
0
935
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
936
And header authorization = 'Bearer ' + strToken
0
937
And header Content-Type = 'application/json; charset=utf-8'
0
938
And header Accept = 'application/json; text/plain;*/*'
0
939
And request ""
0
940
When method get
214
20:38:26.717 request:
7 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/14001
7 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
7 > Content-Type: application/json; charset=utf-8
7 > Accept: application/json; text/plain;*/*
7 > Content-Length: 0
7 > Host: slaleapqaapi.svam.com
7 > Connection: Keep-Alive
7 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
7 > Accept-Encoding: gzip,deflate
20:38:26.930 response time in milliseconds: 213
7 < 200
7 < Content-Length: 658
7 < Content-Type: application/json; charset=utf-8
7 < Server: Microsoft-IIS/10.0
7 < Strict-Transport-Security: max-age=2592000
7 < X-Powered-By: ASP.NET
7 < Date: Tue, 15 Nov 2022 15:08:26 GMT
[{"licenseName":"Industrial alcohol","applicationId":"NA-0566-22-19161","applicationTypeId":1,"appFeesId":3132,"appId":14001,"feesRefId":7170,"initialFees":0.0,"licensingFees":192.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":20.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
941
Then status 200
0
942
And print response[0].appFeesId
0
20:38:26.930 [print] 3132
943
And def appFeesId1 = response[0].appFeesId
0
944
And def feesRefId1 = response[0].feesRefId
0
945
And print appFeesId1
0
20:38:26.931 [print] 3132
946
And print feesRefId1
0
20:38:26.931 [print] 7170
947
And def applicationTypeId = response[0].applicationTypeId
0
948
And print applicationTypeId
0
20:38:26.931 [print] 1
# ********* Save PAYMENT *********************
951
Given path '/internalapi/api/licensing/fees/details/save/'+appId +'/false'
0
953
* def slaDate = licFeesDate()
1
954
* def slaaDate = licDate()
0
955
* def licInitialFees1 = licInitialFees+''
0
956
And print licInitialFees1
0
20:38:26.932 [print] 0
957
* def renewalFees1 = renewalFees+''
0
958
And print renewalFees1
0
20:38:26.933 [print] 30
959
* def totalFees1 = totalFees+''
0
961
And print totalFees1
0
20:38:26.933 [print] 212
962
* def licAncillaryFees1 = licAncillaryFees+''
0
963
* def licfilingFees1 = licfilingFees+''
0
965
And header authorization = 'Bearer ' + strToken
0
966
And request {"checks":[{"checkDetailId":'#(checkDetailId)',"appId":'#(appId)',"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":'#(date)',"slaintakeDate":'#(date)',"amount":'#(amount)',"appliedTo":null,"amountUsed":'#(amount)',"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":'#(date)',"modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":'#(licFeesRefId)',"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees1)',"filingFees":'#(licfilingFees1)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(underpaidAmount)',"amountReceived":'#(amount)',"waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":'#(appId)',"checkDetailId":'#(checkDetailId)',"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":'#(amount)',"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
971
When method post
199
20:38:26.934 request:
8 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/14001/false
8 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
8 > Content-Type: application/json; charset=UTF-8
8 > Content-Length: 5453
8 > Host: slaleapqaapi.svam.com
8 > Connection: Keep-Alive
8 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
8 > Accept-Encoding: gzip,deflate
{"checks":[{"checkDetailId":2399,"appId":14001,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T20:38:26.205Z","slaintakeDate":"2022-11-15T20:38:26.205Z","amount":212.0,"appliedTo":null,"amountUsed":212.0,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T20:38:26.205Z","modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":"Industrial alcohol","applicationId":"NA-0566-22-19161","applicationTypeId":1,"appFeesId":7170,"appId":14001,"feesRefId":7170,"initialFees":0,"licensingFees":192,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":"212","filingFees":"20","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":212.0,"waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":14001,"checkDetailId":2399,"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":212.0,"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":"2022-11-22T20:38:25.356Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":14001,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14001,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14001,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":14001,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14001,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14001,"createdBy":"Tarun Gupta"},"taskId":null}
20:38:27.132 response time in milliseconds: 198
8 < 200
8 < Content-Length: 4
8 < Content-Type: application/json; charset=utf-8
8 < Server: Microsoft-IIS/10.0
8 < Strict-Transport-Security: max-age=2592000
8 < X-Powered-By: ASP.NET
8 < Date: Tue, 15 Nov 2022 15:08:26 GMT
true
972
Then status 200
0
973
And print response
0
20:38:27.132 [print] true
# ********* SAVE Application Details To Save *********************
978
Given path '/internalapi/api/licensing/app/save'
0
979
And header authorization = 'Bearer ' + strToken
0
980
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
981
When method post
265
20:38:27.136 request:
9 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
9 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
9 > Content-Type: application/json; charset=UTF-8
9 > Content-Length: 30723
9 > Host: slaleapqaapi.svam.com
9 > Connection: Keep-Alive
9 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
9 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":14001,"formID":1110,"applicationID":"NA-0566-22-19161","formName":"Industrial alcohol","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
20:38:27.399 response time in milliseconds: 263
9 < 200
9 < Content-Length: 50
9 < Content-Type: application/json; charset=utf-8
9 < Server: Microsoft-IIS/10.0
9 < Strict-Transport-Security: max-age=2592000
9 < X-Powered-By: ASP.NET
9 < Date: Tue, 15 Nov 2022 15:08:26 GMT
{"appId":14001,"applicationId":"NA-0566-22-19161"}
982
Then status 200
0
983
And def serverResponse = response
0
311
* call read('LicensesCommonMethods.feature@SubmitLicenseAndValidateLicStatus') {expStatus:'Awaiting Review'}
4513
>>
karate.UseCases.LicensesCommonMethods
3629
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Application SUBMIT *********************
1099
Given path '/internalapi/api/licensing/app/submit'
0
1100
And header authorization = 'Bearer ' + strToken
0
1101
And request {"appId":'#(appId)',"wfType":null}
0
1102
When method post
388
20:38:28.287 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/submit
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 29
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"appId":14001,"wfType":null}
20:38:28.675 response time in milliseconds: 388
1 < 200
1 < Content-Length: 122
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:28 GMT
{"success":true,"submittedApps":[{"success":true,"taskId":0,"appId":14001,"applicationId":"NA-0566-22-19161","error":""}]}
1103
Then status 200
0
1104
And def serverResponse = response
0
1105
And match response.success == true
0
1106
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
3237
>>
karate.UseCases.LicensesCommonMethods
1275
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
2
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
1113
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
155
20:38:31.755 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/14001
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:38:31.907 response time in milliseconds: 152
1 < 200
1 < Content-Length: 216
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:31 GMT
{"applicationId":"NA-0566-22-19161","submitDate":"2022-11-15T10:08:28.557","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":false,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:38:31.908 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
0
313
* call read('LicensesCommonMethods.feature@AssignApplicationsToExaminer') {expStatus:'Awaiting Review'}
1719
>>
karate.UseCases.LicensesCommonMethods
1109
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* AssignApplicationsSaveDigestDataToExaminer *********************
1139
Given path '/internalapi/api/licensing/examiner/assignApplicationsToExaminer'
0
1140
And header authorization = 'Bearer ' + strToken
0
1141
And request [{"appId":'#(appId)',"examinerId":1069,"priority":"Normal"}]
0
1142
When method post
181
20:38:32.522 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner/assignApplicationsToExaminer
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 55
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"appId":14001,"examinerId":1069,"priority":"Normal"}]
20:38:32.702 response time in milliseconds: 179
1 < 200
1 < Content-Length: 5
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:31 GMT
false
1143
And def serverResponse = response
0
1144
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
926
>>
karate.UseCases.LicensesCommonMethods
354
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
203
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
148
20:38:33.468 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/14001
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:38:33.615 response time in milliseconds: 147
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:33 GMT
1 < Content-Length: 216
{"applicationId":"NA-0566-22-19161","submitDate":"2022-11-15T10:08:28.557","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":false,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:38:33.616 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
315
* call read('PermitsCommonMethods.feature@PermitExaminerReview') {isFingerPrintsApproved:true,isFingerPrintsRequired:false,expStatus:'Awaiting Review'}
1529
>>
karate.UseCases.PermitsCommonMethods
1465
4
* url BaseURL
0
5
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
6
* def DbUtils = Java.type('utils.DbUtils')
0
7
* def db = new DbUtils(config)
0
8
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
18
* def date = getDate2()
0
19
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
28
* def fundDueDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 7 ));
return sdf.format(dayAfter);
}
39
* def fundDueDate = fundDueDateFunc()
1
40
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
51
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
387
* def summisionDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS");
var date = new java.util.Date();
return sdf.format(date);
}
398
* def formatedSumbitDate = summisionDate()
0
399
Given path '/internalapi/api/application/'+appId
0
400
* def dbSts = db.cleanHeap()
283
401
And header authorization = 'Bearer ' + strToken
0
402
And header Content-Type = 'application/json; charset=utf-8'
0
403
And header Accept = 'application/json; text/plain;*/*'
0
404
And configure continueOnStepFailure = true
0
405
And request {}
0
406
When method get
173
20:38:33.981 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/14001
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:38:34.154 response time in milliseconds: 173
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:33 GMT
1 < Content-Length: 2490
{"applicationCategory":6,"appId":14001,"applicationId":"NA-0566-22-19161","licePermitTypeId":null,"applicationTypeId":1,"formVersionId":1497,"formId":1110,"legalName":"Automation20221115203823Automation","submitDate":"2022-11-15T10:08:28.557","isGISRequired":false,"licenseDescription":"Industrial alcohol","recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":"New York","priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Awaiting Review","taskId":1526,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":false,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":"11/22/2022 12:00:00 AM","memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":2750,"appId":14001,"examinerId":1069,"name":null,"assignDate":"2022-11-15T10:08:32.653","isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":422,"type":"2","category":"6","product":"","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":true,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":422,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"clericalName":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":3,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"isFairOrFestival":false,"isShowEffExpDateOnLBReview":false,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":"2022-11-15T10:08:32.653"}
407
* configure continueOnStepFailure = true
0
408
Then status 200
0
409
And def formVersionId = response.formVersionId
0
410
And print formVersionId
0
20:38:34.154 [print] 1497
411
And def formId = response.formId
0
412
And print formId
0
20:38:34.154 [print] 1110
413
And def legalName = response.legalName
0
414
And print legalName
0
20:38:34.154 [print] Automation20221115203823Automation
415
And def submitDate = response.submitDate
0
416
And print submitDate
0
20:38:34.154 [print] 2022-11-15T10:08:28.557
417
And def modifiedDate = response.modifiedDate
0
418
And print modifiedDate
0
20:38:34.154 [print] 2022-11-15T10:08:32.653
420
And def pastDueDate = response.pastDueDate
0
421
And print pastDueDate
0
20:38:34.154 [print] 11/22/2022 12:00:00 AM
423
And def appExaminerId = response.assignAppExaminer.appExaminerId
0
424
And print appExaminerId
0
20:38:34.154 [print] 2750
425
And def examinerId = response.assignAppExaminer.examinerId
0
426
And print examinerId
0
20:38:34.154 [print] 1069
427
And def assignDate = response.assignAppExaminer.assignDate
0
428
And print assignDate
0
20:38:34.155 [print] 2022-11-15T10:08:32.653
429
And def licPermitTypeId = response.licePermitType.licPermitTypeId
0
430
And print licPermitTypeId
0
20:38:34.155 [print] 422
431
And def type = response.licePermitType.type
0
432
And print type
0
20:38:34.155 [print] 2
433
And def category = response.licePermitType.category
0
434
And print category
0
20:38:34.155 [print] 6
435
And def product = response.licePermitType.product
0
436
And print product
0
20:38:34.155 [print]
437
And def licenseDescription = response.licenseDescription
0
438
And print licenseDescription
0
20:38:34.155 [print] Industrial alcohol
441
Given path '/internalapi/api/licensing/examiner-review/SaveNewPermit'
0
443
And header authorization = 'Bearer ' + strToken
0
444
And header current-wfroleid = 4
0
445
And request {"isFingerPrintsApproved":'#(isFingerPrintsApproved)',"isFingerPrintsRequired":'#(isFingerPrintsRequired)',"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"application":{"applicationCategory":6,"appId":'#(appId)',"applicationId":'#(ApplicationId)',"licePermitTypeId":null,"applicationTypeId":1,"formVersionId":'#(formVersionId)',"formId":'#(formId)',"legalName":'#(legalName)',"submitDate":'#(formatedSumbitDate)',"isGISRequired":null,"licenseDescription":'#(licenseDescription)',"recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":'#(CountyName)',"priority":"Normal","expirationDate":null,"appStatusId":2,"taskStatus":"Awaiting Review","taskId":1526,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":false,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":null,"memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"event":null,"appStatus":{"appStatusId":2,"statusDescription":"IntakeComplete","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":'#(appExaminerId)',"appId":'#(appId)',"examinerId":1069,"name":null,"assignDate":'#(formatedSumbitDate)',"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":'#(licPermitTypeId)',"type":"2","category":"6","product":"","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":true,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":'#(licPermitTypeId)',"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"licenseId":null,"address":null,"isNybeApp":true,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":'#(formatedSumbitDate)'},"appId":'#(appId)',"notificationTypeId":2028,"applicationType":1,"decisionType":{"name":"Send to Licensing Board","value":2},"emailNotificationModel":{"applicant":{},"attorney":{},"communityBoard":{},"other":{}},"hasErrors":[],"taskId":1526,"newComments":"SEND TO LB AUTOMATION","recommendedDecisionId":"1"}
0
446
When method post
1006
20:38:34.156 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner-review/SaveNewPermit
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
2 > current-wfroleid: 4
2 > Content-Type: application/json; charset=UTF-8
2 > Content-Length: 3041
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"isFingerPrintsApproved":true,"isFingerPrintsRequired":false,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"application":{"applicationCategory":6,"appId":14001,"applicationId":"NA-0566-22-19161","licePermitTypeId":null,"applicationTypeId":1,"formVersionId":1497,"formId":1110,"legalName":"Automation20221115203823Automation","submitDate":"2022-11-15T20:38:33.696","isGISRequired":null,"licenseDescription":"Industrial alcohol","recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":"New York","priority":"Normal","expirationDate":null,"appStatusId":2,"taskStatus":"Awaiting Review","taskId":1526,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":false,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":null,"memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"event":null,"appStatus":{"appStatusId":2,"statusDescription":"IntakeComplete","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":2750,"appId":14001,"examinerId":1069,"name":null,"assignDate":"2022-11-15T20:38:33.696","isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":422,"type":"2","category":"6","product":"","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":true,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":422,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"licenseId":null,"address":null,"isNybeApp":true,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":"2022-11-15T20:38:33.696"},"appId":14001,"notificationTypeId":2028,"applicationType":1,"decisionType":{"name":"Send to Licensing Board","value":2},"emailNotificationModel":{"applicant":{},"attorney":{},"communityBoard":{},"other":{}},"hasErrors":[],"taskId":1526,"newComments":"SEND TO LB AUTOMATION","recommendedDecisionId":"1"}
20:38:35.160 response time in milliseconds: 1004
2 < 200
2 < Content-Length: 4
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:08:35 GMT
true
447
Then status 200
0
316
* call read('LicensesCommonMethods.feature@ValidateLicenseApplicationStatus') {LicAppStatus:'Under Review'}
759
>>
karate.UseCases.LicensesCommonMethods
258
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1326
Given path 'internalapi/api/GenericSearch/SearchLicense'
0
1327
And header Content-Type = 'application/json; charset=utf-8'
0
1328
And header Accept = 'application/json; text/plain;*/*'
0
1329
And header authorization = 'Bearer ' + strToken
0
1330
And params {page:1,pageSize:10}
0
1331
And request [{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":'#(ApplicationId)'}]
0
1332
When method post
254
20:38:35.663 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/GenericSearch/SearchLicense?pageSize=10&page=1
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
1 > Content-Length: 95
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":"NA-0566-22-19161"}]
20:38:35.916 response time in milliseconds: 253
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:35 GMT
1 < Content-Length: 643
{"data":[{"acaId":14001,"acaType":"application","applicationLicenseId":null,"legacySerialNo":"","legalName":"Automation20221115203823Automation","dba":null,"licenseDescription":"Industrial alcohol","expirationDate":null,"examinerAssigned":"Tarun Gupta","premisesAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","applicantAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","feinSsn":"","formId":1110,"applicationId":"NA-0566-22-19161","licenseId":null,"wfRoleId":2,"applicationStatus":"Under Review","licenseStatus":null}],"total":1,"aggregateResults":null,"errors":null}
1333
Then status 200
0
1334
And print response
1
20:38:35.918 [print] {
"data": [
{
"acaId": 14001,
"acaType": "application",
"applicationLicenseId": null,
"legacySerialNo": "",
"legalName": "Automation20221115203823Automation",
"dba": null,
"licenseDescription": "Industrial alcohol",
"expirationDate": null,
"examinerAssigned": "Tarun Gupta",
"premisesAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"applicantAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"feinSsn": "",
"formId": 1110,
"applicationId": "NA-0566-22-19161",
"licenseId": null,
"wfRoleId": 2,
"applicationStatus": "Under Review",
"licenseStatus": null
}
],
"total": 1,
"aggregateResults": null,
"errors": null
}
1335
* match response.data[0].applicationStatus == '#(LicAppStatus)'
1
317
* call read('LicensesCommonMethods.feature@AddLicenseClaimingQueue') {}
665
>>
karate.UseCases.LicensesCommonMethods
151
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* LB Claiming Queue *********************
5367
Given path 'internalapi/api/licensing/claiming-queue/add/'+appId +'/1069'
0
5368
And header authorization = 'Bearer ' + strToken
0
5369
And header current-wfroleid = 5
0
5370
And request {}
0
5371
When method post
148
20:38:36.436 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/claiming-queue/add/14001/1069
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
1 > current-wfroleid: 5
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:38:36.583 response time in milliseconds: 147
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:36 GMT
1 < Content-Length: 4
true
5372
Then status 200
0
5373
And def serverResponse = response
0
5374
And print serverResponse
0
20:38:36.584 [print] true
318
* def licStatus = 'Approved'
0
319
* def expStatus = 'Approved'
0
320
* def checboxDisapprovalCause = false
0
321
* call read('PermitsCommonMethods.feature@PermitLBDecisions') {StipulationsCount:0}
483
>>
karate.UseCases.PermitsCommonMethods
431
4
* url BaseURL
0
5
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
6
* def DbUtils = Java.type('utils.DbUtils')
0
7
* def db = new DbUtils(config)
0
8
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
18
* def date = getDate2()
0
19
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
28
* def fundDueDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 7 ));
return sdf.format(dayAfter);
}
39
* def fundDueDate = fundDueDateFunc()
1
40
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
51
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
542
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
553
* def currentDate = fundDueDateFunc1(0)
0
554
* def expiryDate = fundDueDateFunc1(30)
0
555
Given path '/internalapi/api/licensing/new-permit/saveDecision'
0
556
And header authorization = 'Bearer ' + strToken
0
557
And header current-wfroleid = 5
0
558
* def payload = ""
0
559
* def payloadForFBDecisionReq = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":"FB Decision Required","value":6},"emailNotificationModel":{"applicant":{},"attorney":{},"communityBoard":{},"other":{}},"hasErrors":[],"licPermitTypeId":434,"taskId":1601,"newComments":"test","conditionalApproval":{"effectiveDate":'#(currentDate)',"expirationDate":'#(expiryDate)',"selectInput":{"fromFields":[{"id":1,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC’s dba name"},{"id":2,"label":"Provide a copy of the business certificate from the county clerk for your dba name"},{"id":3,"label":"Provide your federal tax identification number"},{"id":4,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department"},{"id":5,"label":"Provide an amended Certificate of Authority – the name must match the applicant name exactly."},{"id":6,"label":"Provide an amended Certificate of Authority – the address must match the premises address exactly"},{"id":7,"label":"Provide a signed Bond Rider amending____________"},{"id":8,"label":"Provide Worker’s Compensation and Disability Benefits insurance provider names and policy numbers"},{"id":9,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee"},{"id":10,"label":"Submit a copy of the Newspaper Affidavit(s)"},{"id":11,"label":"Provide your TTB permit"},{"id":12,"label":"Surrender of the current license in effect"},{"id":13,"label":"Other Condition"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Condition:","additionalComments":"","srclabel":"Select","dstlabel":"Add to Letter","additionalLabel":"Additional Conditions:"}}}
0
560
* def payloadForwithdraw = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":"Withdrawal","value":4},"emailNotificationModel":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"automation@test.com","appId":'#(appId)',"emailContactTypeId":0,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}},"hasErrors":[],"licPermitTypeId":'#(mainLicensePermitTypeId)',"taskId":1601,"newComments":"withdrawing the application"}
0
561
* def payloadWithReturnToExaminer = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":"Return to Examiner","value":7,"isChecked":null},"emailNotificationModel":{"applicant":{},"attorney":{},"communityBoard":{},"other":{}},"hasErrors":[],"licPermitTypeId":'#(mainLicensePermitTypeId)',"taskId":1601,"newComments":"returning to examiner queue for correct review"}
0
#* def payloadWithConditionalApprove = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":"Conditionally Approved","value":5},"emailNotificationModel":{"applicant":{"communicationId":106,"email":"automation@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":109,"email":"sbandi@svam.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}},"hasErrors":[],"licPermitTypeId":'#(mainLicensePermitTypeId)',"taskId":1601,"newComments":"","conditionalApproval":{"selectInput":{"fromFields":[{"id":2,"label":"Provide a copy of the business certificate from the county clerk for your dba name"},{"id":3,"label":"Provide your federal tax identification number"},{"id":4,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department"},{"id":5,"label":"Provide an amended Certificate of Authority – the name must match the applicant name exactly."},{"id":6,"label":"Provide an amended Certificate of Authority – the address must match the premises address exactly"},{"id":7,"label":"Provide a signed Bond Rider amending____________"},{"id":8,"label":"Provide Worker’s Compensation and Disability Benefits insurance provider names and policy numbers"},{"id":9,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee"},{"id":10,"label":"Submit a copy of the Newspaper Affidavit(s)"},{"id":11,"label":"Provide your TTB permit"},{"id":12,"label":"Surrender of the current license in effect"},{"id":13,"label":"Other Condition"}],"toFields":[{"id":1,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC’s dba name"}],"isRewritable":true,"rewriteLabel":"Edit Condition:","additionalComments":"","srclabel":"Select","dstlabel":"Add to Letter","additionalLabel":"Additional Conditions:"},"effectiveDate":'#(currentDate)',"expirationDate":'#(expiryDate)',"conditions":[1],"descriptions":["Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC’s dba name"]}}
564
* def payloadWithApproval = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"appId":'#(appId)',"applicationType":1,"applicationId":'#(applicationId)',"legalName":"Sep13_BrewerTasting_Annual_AQAMC","statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{"communicationId":6936,"email":"vdsouza@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":6938,"email":"vdsouza@svam.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}},"hasErrors":[],"licPermitTypeId":'#(mainLicensePermitTypeId)',"taskId":1601,"newComments":"","approval":{"isDefineStipulations":false,"effectiveDate":'#(currentDate)',"expirationDate":'#(expiryDate)'}}
1
565
* def payloadDisapprovalWithSingle = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":'#(appId)',"applicationType":1,"applicationId":'#(applicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":"Disapproved","value":2},"emailNotificationModel":{"applicant":{"communicationId":4095,"email":"vdsouza@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":4097,"email":"vdsouza@svam.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}},"hasErrors":[],"licPermitTypeId":'#(mainLicensePermitTypeId)',"taskId":1601,"newComments":"Disapproved the permit","disApproval":{"isDisapprovalForCause":true,"isDisapprovalLetterAttach":true,"selectInput":{"fromFields":[{"id":1,"label":"A temporary permit may not be considered for approval unless it is preceded or accompanied by an application for a permanent license."},{"id":2,"label":"A temporary permit for a New York City premises may not be considered for approval, unless a contract of sale is submitted with the application. No contract of sale was submitted for this transaction."},{"id":3,"label":"A liquidator’s permit may not be considered for approval when the application it is filed in conjunction with is disapproved."},{"id":4,"label":"A liquidator’s permit may not be approved when the seller of the alcohol is currently in arrears and on the Authority’s COD List. The seller will need to clear all accounts in arrears and re-apply."},{"id":6,"label":"Check number ____ in the amount of ________ , for payment in connection with this application was returned due to insufficient funds. A request for certified funds was sent to the applicant on _________, to which there was no reply."},{"id":7,"label":"Licensees are not eligible to change corporate entities using an endorsement/corporate change application. A licensee forming a new entity and using a new FEIN# must file a new application under the new corporate entity."},{"id":8,"label":"Endorsement applications may not be used to change an application from an executor of an estate to a corporation. A new application must be filed once the estate is settled."},{"id":9,"label":"Licensee is not eligible to file a removal under a new corporate entity. Licensee must file a new application for the new corporate entity with the new FEIN #."},{"id":10,"label":"The applicant submitted an outdated application form that is no longer accepted for processing as of 11/30/13."},{"id":11,"label":"Temporary retail permit was received with an outdated main application."},{"id":12,"label":"The corporate change filed under this serial number is a duplicate of a corporate change filed on _______________under _________________________________, serial number __________."}],"toFields":[{"id":5,"label":"An insufficient fee was submitted with the application. Total fee due was $___ and the total fee paid was $_____"}],"isRewritable":true,"rewriteLabel":"Edit Reason for Disapproval:","additionalComments":"Test","srclabel":"Select","dstlabel":"Add to Notification","additionalLabel":"Additional Reasons for Disapproval:"},"disapprovalReason":[5,-1],"descriptions":["An insufficient fee was submitted with the application. Total fee due was $___ and the total fee paid was $_____","Test"]}}
1
566
* def payloadDisapprovalUncheckbox = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":'#(appId)',"applicationType":1,"applicationId":'#(applicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":"Disapproved","value":2},"emailNotificationModel":{"applicant":{"communicationId":6567,"email":"automation@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":6570,"email":"sbandi@svam.com","appId":'#(appId)',"emailContactTypeId":2,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}},"hasErrors":[],"licPermitTypeId":'#(mainLicensePermitTypeId)',"taskId":1601,"newComments":"Disapproved the permit","approval":{"isDefineStipulations":false,"effectiveDate":'#(currentDate)',"expirationDate":'#(expiryDate)'},"disApproval":{"isDisapprovalForCause":false,"isDisapprovalLetterAttach":true,"selectInput":{"fromFields":[{"id":1,"label":"A temporary permit may not be considered for approval unless it is preceded or accompanied by an application for a permanent license."},{"id":2,"label":"A temporary permit for a New York City premises may not be considered for approval, unless a contract of sale is submitted with the application. No contract of sale was submitted for this transaction."},{"id":3,"label":"A liquidator’s permit may not be considered for approval when the application it is filed in conjunction with is disapproved."},{"id":4,"label":"A liquidator’s permit may not be approved when the seller of the alcohol is currently in arrears and on the Authority’s COD List. The seller will need to clear all accounts in arrears and re-apply."},{"id":6,"label":"Check number ____ in the amount of ________ , for payment in connection with this application was returned due to insufficient funds. A request for certified funds was sent to the applicant on _________, to which there was no reply."},{"id":7,"label":"Licensees are not eligible to change corporate entities using an endorsement/corporate change application. A licensee forming a new entity and using a new FEIN# must file a new application under the new corporate entity."},{"id":8,"label":"Endorsement applications may not be used to change an application from an executor of an estate to a corporation. A new application must be filed once the estate is settled."},{"id":9,"label":"Licensee is not eligible to file a removal under a new corporate entity. Licensee must file a new application for the new corporate entity with the new FEIN #."},{"id":10,"label":"The applicant submitted an outdated application form that is no longer accepted for processing as of 11/30/13."},{"id":11,"label":"Temporary retail permit was received with an outdated main application."},{"id":12,"label":"The corporate change filed under this serial number is a duplicate of a corporate change filed on _______________under _________________________________, serial number __________."}],"toFields":[{"id":5,"label":"An insufficient fee was submitted with the application. Total fee due was $___ and the total fee paid was $_____"}],"isRewritable":true,"rewriteLabel":"Edit Reason for Disapproval:","additionalComments":"Test Automation Disapproval","srclabel":"Select","dstlabel":"Add to Notification","additionalLabel":"Additional Reasons for Disapproval:"},"disapprovalReason":[5,-1],"descriptions":["An insufficient fee was submitted with the application. Total fee due was $___ and the total fee paid was $_____","Test Automation Disapproval"]}}
1
567
* def payloadmultiple = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{"communicationId":9854,"email":"automation@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}},"hasErrors":[],"licPermitTypeId":'#(mainLicensePermitTypeId)',"taskId":1151,"newComments":"","approval":{"isDefineStipulations":true,"selectInput":{"fromFields":[],"toFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"},{"id":40,"label":"ABC"}],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","additionalComments":"","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":'#(currentDate)',"expirationDate":'#(expiryDate)',"stipulations":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"descriptions":["Inside of premises closes at x","Side walk café closes at x","Backyard closes at x","Alcohol consumption inside stops at X","Alcohol consumption in backyard stops at x","Alcohol consumption on sidewalk café stops at x","No live music in inside of premises","No live music outside of premise","No DJs","No promoters","No Promoted events","Recorded music only","Music stops at X","Music outside stops at X","Only non-amplified music","Acoustic music only","No bar crawls","Close façade doors at certain time","Close Windows at a certain time","No boozy brunches","No unlimited drink","No happy Hours","No bottle service ","No dancing","No delivery bikes","No TVs","Licensed patio","Licensed sidewalk café","No outside areas","Security Guards required","X amount of security guards per x amount of patrons","# of security guards per patron","No VIP","No roped lines","No hookah","Doors closed at all times","Windows closed at all time","All agreed upon CB stipulations except","All employees must be TIPS trained","ABC"]}}
0
568
* def payloadDisapproveCounsel = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":"Disapproval to Counsel","value":3},"emailNotificationModel":{"applicant":{"communicationId":6508,"email":"automation@test.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}},"hasErrors":[],"licPermitTypeId":'#(mainLicensePermitTypeId)',"taskId":1601,"newComments":"","disApproval":{"isDisapprovalForCause":true,"isDisapprovalLetterAttach":true,"selectInput":{"fromFields":[{"id":1,"label":"A temporary permit may not be considered for approval unless it is preceded or accompanied by an application for a permanent license."},{"id":2,"label":"A temporary permit for a New York City premises may not be considered for approval, unless a contract of sale is submitted with the application. No contract of sale was submitted for this transaction."},{"id":3,"label":"A liquidator’s permit may not be considered for approval when the application it is filed in conjunction with is disapproved."},{"id":4,"label":"A liquidator’s permit may not be approved when the seller of the alcohol is currently in arrears and on the Authority’s COD List. The seller will need to clear all accounts in arrears and re-apply."},{"id":6,"label":"Check number ____ in the amount of ________ , for payment in connection with this application was returned due to insufficient funds. A request for certified funds was sent to the applicant on _________, to which there was no reply."},{"id":7,"label":"Licensees are not eligible to change corporate entities using an endorsement/corporate change application. A licensee forming a new entity and using a new FEIN# must file a new application under the new corporate entity."},{"id":8,"label":"Endorsement applications may not be used to change an application from an executor of an estate to a corporation. A new application must be filed once the estate is settled."},{"id":9,"label":"Licensee is not eligible to file a removal under a new corporate entity. Licensee must file a new application for the new corporate entity with the new FEIN #."},{"id":10,"label":"The applicant submitted an outdated application form that is no longer accepted for processing as of 11/30/13."},{"id":11,"label":"Temporary retail permit was received with an outdated main application."},{"id":12,"label":"The corporate change filed under this serial number is a duplicate of a corporate change filed on _______________under _________________________________, serial number __________."}],"toFields":[{"id":5,"label":"An insufficient fee was submitted with the application. Total fee due was $___ and the total fee paid was $_____"}],"isRewritable":true,"rewriteLabel":"Edit Reason for Disapproval:","additionalComments":"Disapproval to counsel Test","srclabel":"Select","dstlabel":"Add to Notification","additionalLabel":"Additional Reasons for Disapproval:"},"disapprovalReason":[5,-1],"descriptions":["An insufficient fee was submitted with the application. Total fee due was $___ and the total fee paid was $_____","Disapproval to counsel Test"]}}
0
570
* def payloadDisapproveCounsel1 = {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"isChainRestaurant":false,"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":"Disapproval to Counsel","value":3},"emailNotificationModel":{"applicant":{"communicationId":6508,"email":"automation@test.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}},"hasErrors":[],"licPermitTypeId":'#(mainLicensePermitTypeId)',"taskId":1601,"newComments":"Test Automation for DisapprvalToCaousel","disApproval":{"isDisapprovalForCause":false,"isDisapprovalLetterAttach":true,"selectInput":{"fromFields":[{"id":1,"label":"A temporary permit may not be considered for approval unless it is preceded or accompanied by an application for a permanent license."},{"id":2,"label":"A temporary permit for a New York City premises may not be considered for approval, unless a contract of sale is submitted with the application. No contract of sale was submitted for this transaction."},{"id":3,"label":"A liquidator’s permit may not be considered for approval when the application it is filed in conjunction with is disapproved."},{"id":4,"label":"A liquidator’s permit may not be approved when the seller of the alcohol is currently in arrears and on the Authority’s COD List. The seller will need to clear all accounts in arrears and re-apply."},{"id":6,"label":"Check number ____ in the amount of ________ , for payment in connection with this application was returned due to insufficient funds. A request for certified funds was sent to the applicant on _________, to which there was no reply."},{"id":7,"label":"Licensees are not eligible to change corporate entities using an endorsement/corporate change application. A licensee forming a new entity and using a new FEIN# must file a new application under the new corporate entity."},{"id":8,"label":"Endorsement applications may not be used to change an application from an executor of an estate to a corporation. A new application must be filed once the estate is settled."},{"id":9,"label":"Licensee is not eligible to file a removal under a new corporate entity. Licensee must file a new application for the new corporate entity with the new FEIN #."},{"id":10,"label":"The applicant submitted an outdated application form that is no longer accepted for processing as of 11/30/13."},{"id":11,"label":"Temporary retail permit was received with an outdated main application."},{"id":12,"label":"The corporate change filed under this serial number is a duplicate of a corporate change filed on _______________under _________________________________, serial number __________."}],"toFields":[{"id":5,"label":"An insufficient fee was submitted with the application. Total fee due was $___ and the total fee paid was $_____"}],"isRewritable":true,"rewriteLabel":"Edit Reason for Disapproval:","additionalComments":"Disapproval to counsel Test","srclabel":"Select","dstlabel":"Add to Notification","additionalLabel":"Additional Reasons for Disapproval:"},"disapprovalReason":[5,-1],"descriptions":["An insufficient fee was submitted with the application. Total fee due was $___ and the total fee paid was $_____","Disapproval to counsel Test"]}}
0
572
* eval if (checboxDisapprovalCause == false && StipulationsCount == 1 && licStatus == 'Disapproved') payload = payloadDisapprovalUncheckbox
2
573
* eval if (StipulationsCount == 0 && licStatus == 'Withdrawal') payload = payloadForwithdraw
0
574
* eval if (StipulationsCount == 0 && licStatus == 'Approved') payload = payloadWithApproval
0
575
* eval if (StipulationsCount == 0 && licStatus == 'FB Decision Required') payload = payloadForFBDecisionReq
0
576
* eval if (checboxDisapprovalCause == true && StipulationsCount == 1 && licStatus == 'Disapproved') payload = payloadDisapprovalWithSingle
0
577
* eval if (StipulationsCount > 1 && licStatus == 'Disapproved') payload = payloadmultiple
0
578
* eval if (checboxDisapprovalCause == true && StipulationsCount == 1 && licStatus == 'Disapproval to Counsel') payload = payloadDisapproveCounsel
0
579
* eval if (checboxDisapprovalCause == false && StipulationsCount == 1 && licStatus == 'Disapproval to Counsel') payload = payloadDisapproveCounsel1
0
# * eval if (licStatus == 'Conditionally Approved') payload = payloadWithConditionalApprove
581
* eval if (licStatus == 'Return to Examiner') payload = payloadWithReturnToExaminer
0
582
And request payload
0
583
When method post
264
20:38:36.643 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/new-permit/saveDecision
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
1 > current-wfroleid: 5
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 2454
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"isBuyerApproved":-1,"masterFileData":[],"combinedCraftData":[],"appId":14001,"applicationType":1,"applicationId":"#(applicationId)","legalName":"Sep13_BrewerTasting_Annual_AQAMC","statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{"communicationId":6936,"email":"vdsouza@svam.com","appId":14001,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":6938,"email":"vdsouza@svam.com","appId":14001,"emailContactTypeId":2,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14001,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}},"hasErrors":[],"licPermitTypeId":422,"taskId":1601,"newComments":"","approval":{"isDefineStipulations":false,"effectiveDate":"2022-11-15","expirationDate":"2022-12-15"}}
20:38:36.907 response time in milliseconds: 264
1 < 200
1 < Content-Length: 4
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:36 GMT
true
584
Then status 200
0
585
And def serverResponse = response
0
# ********* GET License Id *********************
590
Given path '/internalapi/api/licensing/LBDecision/getLicenseByAppId/' + appId +'/-1'
0
591
And header authorization = 'Bearer ' + strToken
0
592
And request {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"masterFileData":[],"combinedCraftData":[],"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":null,"statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{},"attorney":{},"other":{"email":""}},"hasErrors":[],"taskId":1151,"newComments":"","approval":{"isDefineStipulations":false,"selectInput":{"fromFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":"2022-01-10","expirationDate":"2022-08-31","stipulations":[],"descriptions":[]}}
0
593
When method get
151
20:38:36.908 request:
2 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/LBDecision/getLicenseByAppId/14001/-1
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
2 > Content-Type: application/json; charset=UTF-8
2 > Content-Length: 2432
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"masterFileData":[],"combinedCraftData":[],"appId":14001,"applicationType":1,"applicationId":"NA-0566-22-19161","legalName":null,"statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{},"attorney":{},"other":{"email":""}},"hasErrors":[],"taskId":1151,"newComments":"","approval":{"isDefineStipulations":false,"selectInput":{"fromFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":"2022-01-10","expirationDate":"2022-08-31","stipulations":[],"descriptions":[]}}
20:38:37.058 response time in milliseconds: 150
2 < 200
2 < Content-Length: 2853
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:08:36 GMT
{"license":{"licId":1491,"applicationId":null,"licenseId":"0566-22-29142","licensePermitId":null,"licePermitTypeId":422,"appId":14001,"legacySerialNo":null,"issueDate":null,"expiryDate":"2025-10-31T00:00:00","effectiveDate":"2022-11-15T10:08:00","seasonalStartDate":null,"seasonalEndDate":null,"safeKeepingExpiryDate":null,"status":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"extTempPermitEnabled":false,"application":{"applicationCategory":null,"appId":null,"applicationId":null,"licePermitTypeId":null,"applicationTypeId":null,"formVersionId":null,"formId":null,"legalName":null,"submitDate":null,"isGISRequired":null,"licenseDescription":null,"recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":null,"priority":null,"expirationDate":null,"appStatusId":null,"taskStatus":null,"taskId":null,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":null,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":null,"memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":null,"isNotQualified":null,"eventDate":null,"appStatus":{"appStatusId":0,"statusDescription":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":null,"assignAppToLB":null,"licePermitType":null,"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":0,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"clericalName":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"isFairOrFestival":false,"isShowEffExpDateOnLBReview":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"options":null,"emailNotificationModel":null,"taskOptionsListNested":null,"days":0,"permit":null,"licPermitType":null,"licensePermitMapping":null,"licenseFee":null,"accountBalance":null,"licenseDescription":null,"isSeasonal":false,"isSummerSeasonal":false,"newExpiryDate":null,"amountDue":null,"originalLicenseFee":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"wfRoleId":0},"person":[],"totalRecord":0,"apps":[]}
594
Then status 200
0
595
And def serverResponse = response
0
597
And def licId = serverResponse.license.licId
0
598
And def licenseId = serverResponse.license.licenseId
0
600
And print 'licId : ' , licId
0
20:38:37.059 [print] licId : 1491
601
And print 'licenseId : ' , licenseId
0
20:38:37.059 [print] licenseId : 0566-22-29142
602
And match licId != []
0
603
And match licenseId != []
0
604
* def appendAppID = db.appendStrToFile('PermitAPPIds.csv' , ('\n'+appId+','+licenseId))
7
322
* call read('LicensesCommonMethods.feature@ValidateLicenseApplicationStatus') {LicAppStatus:'Approved'}
704
>>
karate.UseCases.LicensesCommonMethods
141
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1326
Given path 'internalapi/api/GenericSearch/SearchLicense'
0
1327
And header Content-Type = 'application/json; charset=utf-8'
0
1328
And header Accept = 'application/json; text/plain;*/*'
0
1329
And header authorization = 'Bearer ' + strToken
0
1330
And params {page:1,pageSize:10}
0
1331
And request [{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":'#(ApplicationId)'}]
0
1332
When method post
139
20:38:37.630 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/GenericSearch/SearchLicense?pageSize=10&page=1
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
1 > Content-Length: 95
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":"NA-0566-22-19161"}]
20:38:37.767 response time in milliseconds: 137
1 < 200
1 < Content-Length: 684
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:37 GMT
{"data":[{"acaId":14001,"acaType":"application","applicationLicenseId":"0566-22-29142","legacySerialNo":null,"legalName":"Automation20221115203823Automation","dba":null,"licenseDescription":"Industrial alcohol","expirationDate":"2022-12-15T00:00:00","examinerAssigned":"Tarun Gupta","premisesAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","applicantAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","feinSsn":"","formId":1110,"applicationId":"NA-0566-22-19161","licenseId":"0566-22-29142","wfRoleId":2,"applicationStatus":"Approved","licenseStatus":"Active"}],"total":1,"aggregateResults":null,"errors":null}
1333
Then status 200
0
1334
And print response
0
20:38:37.768 [print] {
"data": [
{
"acaId": 14001,
"acaType": "application",
"applicationLicenseId": "0566-22-29142",
"legacySerialNo": null,
"legalName": "Automation20221115203823Automation",
"dba": null,
"licenseDescription": "Industrial alcohol",
"expirationDate": "2022-12-15T00:00:00",
"examinerAssigned": "Tarun Gupta",
"premisesAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"applicantAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"feinSsn": "",
"formId": 1110,
"applicationId": "NA-0566-22-19161",
"licenseId": "0566-22-29142",
"wfRoleId": 2,
"applicationStatus": "Approved",
"licenseStatus": "Active"
}
],
"total": 1,
"aggregateResults": null,
"errors": null
}
1335
* match response.data[0].applicationStatus == '#(LicAppStatus)'
1
328
* call read('LicensesCommonMethods.feature@GetLicenseId') {}
641
>>
karate.UseCases.LicensesCommonMethods
172
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
0
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
3212
Given path '/internalapi/api/licensing/LBDecision/getLicenseByAppId/' + appId +'/-1'
0
3213
And header authorization = 'Bearer ' + strToken
0
3214
* def EffectiveDate = EffDate()
0
3215
And request {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"masterFileData":[],"combinedCraftData":[],"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":null,"statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{},"attorney":{},"other":{"email":""}},"hasErrors":[],"taskId":1151,"newComments":"","approval":{"isDefineStipulations":false,"selectInput":{"fromFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":'#(EffectiveDate)',"expirationDate":'#(expiryDate)',"stipulations":[],"descriptions":[]}}
0
3216
When method get
170
20:38:38.243 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/LBDecision/getLicenseByAppId/14001/-1
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 2432
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"masterFileData":[],"combinedCraftData":[],"appId":14001,"applicationType":1,"applicationId":"NA-0566-22-19161","legalName":null,"statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{},"attorney":{},"other":{"email":""}},"hasErrors":[],"taskId":1151,"newComments":"","approval":{"isDefineStipulations":false,"selectInput":{"fromFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":"2022-11-15","expirationDate":"2022-12-15","stipulations":[],"descriptions":[]}}
20:38:38.413 response time in milliseconds: 169
1 < 200
1 < Content-Length: 2853
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:37 GMT
{"license":{"licId":1491,"applicationId":null,"licenseId":"0566-22-29142","licensePermitId":null,"licePermitTypeId":422,"appId":14001,"legacySerialNo":null,"issueDate":null,"expiryDate":"2025-10-31T00:00:00","effectiveDate":"2022-11-15T10:08:00","seasonalStartDate":null,"seasonalEndDate":null,"safeKeepingExpiryDate":null,"status":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"extTempPermitEnabled":false,"application":{"applicationCategory":null,"appId":null,"applicationId":null,"licePermitTypeId":null,"applicationTypeId":null,"formVersionId":null,"formId":null,"legalName":null,"submitDate":null,"isGISRequired":null,"licenseDescription":null,"recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":null,"priority":null,"expirationDate":null,"appStatusId":null,"taskStatus":null,"taskId":null,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":null,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":null,"memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":null,"isNotQualified":null,"eventDate":null,"appStatus":{"appStatusId":0,"statusDescription":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":null,"assignAppToLB":null,"licePermitType":null,"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":0,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"clericalName":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"isFairOrFestival":false,"isShowEffExpDateOnLBReview":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"options":null,"emailNotificationModel":null,"taskOptionsListNested":null,"days":0,"permit":null,"licPermitType":null,"licensePermitMapping":null,"licenseFee":null,"accountBalance":null,"licenseDescription":null,"isSeasonal":false,"isSummerSeasonal":false,"newExpiryDate":null,"amountDue":null,"originalLicenseFee":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"wfRoleId":0},"person":[],"totalRecord":0,"apps":[]}
3217
Then status 200
0
3218
And def serverResponse = response
0
3219
And print serverResponse
0
20:38:38.413 [print] {
"license": {
"licId": 1491,
"applicationId": null,
"licenseId": "0566-22-29142",
"licensePermitId": null,
"licePermitTypeId": 422,
"appId": 14001,
"legacySerialNo": null,
"issueDate": null,
"expiryDate": "2025-10-31T00:00:00",
"effectiveDate": "2022-11-15T10:08:00",
"seasonalStartDate": null,
"seasonalEndDate": null,
"safeKeepingExpiryDate": null,
"status": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null,
"extTempPermitEnabled": false,
"application": {
"applicationCategory": null,
"appId": null,
"applicationId": null,
"licePermitTypeId": null,
"applicationTypeId": null,
"formVersionId": null,
"formId": null,
"legalName": null,
"submitDate": null,
"isGISRequired": null,
"licenseDescription": null,
"recommendedDecisionId": null,
"status500": null,
"isApplicableForPDLetter": false,
"countyName": null,
"priority": null,
"expirationDate": null,
"appStatusId": null,
"taskStatus": null,
"taskId": null,
"currentWfstatus": null,
"communityBoard": null,
"isLicenseApplication": null,
"currentDueDate": null,
"isFinalDeficiency": null,
"isHighlyDeficient": null,
"isAllDeficienciesMet": null,
"pastDueDate": null,
"memo": null,
"isOneTimePermit": null,
"dueDateAction": null,
"isDisapprovedForCause": null,
"isNotQualified": null,
"eventDate": null,
"appStatus": {
"appStatusId": 0,
"statusDescription": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null
},
"applicationType": null,
"assignAppExaminer": null,
"assignAppToLB": null,
"licePermitType": null,
"assoApplicationList": [
],
"isTempPermit": null,
"isTempOrLiq": false,
"licPermitTypeId": 0,
"isAssociatedLicense": null,
"effectiveDate": null,
"assignedUserId": null,
"amendmentTypeId": null,
"amendmentType": null,
"disapprovedDate": null,
"condApprovedDate": null,
"addressId": null,
"isCaseOpen": null,
"isClosed": null,
"isCaseOpenSameAddress": null,
"isSpecialEventPlusFour": null,
"isSpecialEventInsideFiveBoroughs": null,
"licStatus": null,
"createdBy": null,
"clericalName": null,
"licenseId": null,
"address": null,
"isNybeApp": false,
"isHearingCompleted": null,
"does500FtHearingExist": null,
"parentAppStatus": null,
"premisesAppCount": 0,
"statusDescription": null,
"eventAddress": null,
"isFairOrFestival": false,
"isShowEffExpDateOnLBReview": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
"options": null,
"emailNotificationModel": null,
"taskOptionsListNested": null,
"days": 0,
"permit": null,
"licPermitType": null,
"licensePermitMapping": null,
"licenseFee": null,
"accountBalance": null,
"licenseDescription": null,
"isSeasonal": false,
"isSummerSeasonal": false,
"newExpiryDate": null,
"amountDue": null,
"originalLicenseFee": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"wfRoleId": 0
},
"person": [
],
"totalRecord": 0,
"apps": [
]
}
3220
And def licId = serverResponse.license.licId
0
3221
And def licenseId = serverResponse.license.licenseId
0
3222
And def ActEffDate = serverResponse.license.seasonalStartDate
0
3223
And def ActExpDate = serverResponse.license.expiryDate
0
3224
And print serverResponse
0
20:38:38.413 [print] {
"license": {
"licId": 1491,
"applicationId": null,
"licenseId": "0566-22-29142",
"licensePermitId": null,
"licePermitTypeId": 422,
"appId": 14001,
"legacySerialNo": null,
"issueDate": null,
"expiryDate": "2025-10-31T00:00:00",
"effectiveDate": "2022-11-15T10:08:00",
"seasonalStartDate": null,
"seasonalEndDate": null,
"safeKeepingExpiryDate": null,
"status": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null,
"extTempPermitEnabled": false,
"application": {
"applicationCategory": null,
"appId": null,
"applicationId": null,
"licePermitTypeId": null,
"applicationTypeId": null,
"formVersionId": null,
"formId": null,
"legalName": null,
"submitDate": null,
"isGISRequired": null,
"licenseDescription": null,
"recommendedDecisionId": null,
"status500": null,
"isApplicableForPDLetter": false,
"countyName": null,
"priority": null,
"expirationDate": null,
"appStatusId": null,
"taskStatus": null,
"taskId": null,
"currentWfstatus": null,
"communityBoard": null,
"isLicenseApplication": null,
"currentDueDate": null,
"isFinalDeficiency": null,
"isHighlyDeficient": null,
"isAllDeficienciesMet": null,
"pastDueDate": null,
"memo": null,
"isOneTimePermit": null,
"dueDateAction": null,
"isDisapprovedForCause": null,
"isNotQualified": null,
"eventDate": null,
"appStatus": {
"appStatusId": 0,
"statusDescription": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null
},
"applicationType": null,
"assignAppExaminer": null,
"assignAppToLB": null,
"licePermitType": null,
"assoApplicationList": [
],
"isTempPermit": null,
"isTempOrLiq": false,
"licPermitTypeId": 0,
"isAssociatedLicense": null,
"effectiveDate": null,
"assignedUserId": null,
"amendmentTypeId": null,
"amendmentType": null,
"disapprovedDate": null,
"condApprovedDate": null,
"addressId": null,
"isCaseOpen": null,
"isClosed": null,
"isCaseOpenSameAddress": null,
"isSpecialEventPlusFour": null,
"isSpecialEventInsideFiveBoroughs": null,
"licStatus": null,
"createdBy": null,
"clericalName": null,
"licenseId": null,
"address": null,
"isNybeApp": false,
"isHearingCompleted": null,
"does500FtHearingExist": null,
"parentAppStatus": null,
"premisesAppCount": 0,
"statusDescription": null,
"eventAddress": null,
"isFairOrFestival": false,
"isShowEffExpDateOnLBReview": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
"options": null,
"emailNotificationModel": null,
"taskOptionsListNested": null,
"days": 0,
"permit": null,
"licPermitType": null,
"licensePermitMapping": null,
"licenseFee": null,
"accountBalance": null,
"licenseDescription": null,
"isSeasonal": false,
"isSummerSeasonal": false,
"newExpiryDate": null,
"amountDue": null,
"originalLicenseFee": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"wfRoleId": 0
},
"person": [
],
"totalRecord": 0,
"apps": [
]
}
3225
And print 'licId : ' , licId
0
20:38:38.413 [print] licId : 1491
3226
And print 'licenseId : ' , licenseId
0
20:38:38.413 [print] licenseId : 0566-22-29142
3227
And match licId != []
0
3228
And match licenseId != []
0
329
And print licenseId
0
20:38:38.416 [print] 0566-22-29142
330
* def notQualifiedApplication = false
0
331
* def notQlfdAppMessage = ''
0
332
* call read('RenewalCommonMethods.feature@IntakeRenewalLicense') {}
2703
>>
karate.UseCases.RenewalCommonMethods
2511
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def date = getDate2()
1
17
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
26
* def effectiveDate = effectiveDateFunc()
0
30
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
39
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
50
* def fundDueDate = fundDueDateFunc(7)
1
53
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
64
* def conditionDefinedDateFunction =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.00");
var date = new java.util.Date();
return sdf.format(date);
}
75
* def conditionDefinedDate = conditionDefinedDateFunction()
0
76
* def conditionDefinedDateFunctionwithAddedDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var date = new java.util.Date();
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
88
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
99
* def getRenewalReviewFunc =
0
function(reviewType){
if (reviewType == 'Send to Licensing Board'){
return 2;
}
else if (reviewType == 'Send to Full Board Preview Team'){
return 3;
}
else if (reviewType == 'Define Deficiencies'){
return 1;
}
}
169
Given path '/internalapi/api/licensing/search/searchLicensesAndPermits/'
0
170
And header Content-Type = 'application/json; charset=utf-8'
0
172
And header Accept = 'application/json; text/plain;*/*'
0
173
And header authorization = 'Bearer ' + strToken
0
176
And request {"WfTaskIdList":[],"LicenseStatusList":[19,45,40],"ShowLicensesAndPermits":true,"Status":null,"isTempPermit":null,"ApplicationId":null,"LicensePermitId":'#(licenseId)',"LegalName":null,"FEIN":null,"applyFor":""}
0
177
When method POST
163
20:38:38.606 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/search/searchLicensesAndPermits
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
1 > Content-Length: 212
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"WfTaskIdList":[],"LicenseStatusList":[19,45,40],"ShowLicensesAndPermits":true,"Status":null,"isTempPermit":null,"ApplicationId":null,"LicensePermitId":"0566-22-29142","LegalName":null,"FEIN":null,"applyFor":""}
20:38:38.768 response time in milliseconds: 162
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:37 GMT
1 < Content-Length: 1295
{"licenses":[{"lpId":1491,"licensePermitId":"0566-22-29142","licPermitTypeId":422,"isAccociatedLicense":false,"appId":14001,"mainAppId":14001,"status":"Active","legacySerialNo":null,"isLicense":null,"isPermit":true,"issueDate":"2022-11-15T00:00:00","expiryDate":"2022-12-15T00:00:00","effectiveDate":"2022-11-15T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-11-15T10:08:36.793","modifiedDate":null,"submitDate":"2022-11-15T10:08:28.557","description":"Industrial alcohol","county":"New York","legalName":"Automation20221115203823Automation","fein":"","formId":1110,"isRenewalRequird":true,"dba":null,"associatePermits":[],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":null,"county":"New York","zipCode":"12345","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null}],"totalRecord":1}
178
Then status 200
0
179
* def licPermitTypeId = response.licenses[0].licPermitTypeId
0
180
* def lpId = response.licenses[0].lpId
0
181
* def effectiveDate = response.licenses[0].effectiveDate
0
182
* def expiryDate = response.licenses[0].expiryDate
0
183
* def legalName = response.licenses[0].legalName
0
184
* def licAppId = response.licenses[0].appId
0
185
* def submitDate = response.licenses[0].submitDate
0
186
* call read('LicensesCommonMethods.feature@GetCountyList') {}
1830
>>
karate.UseCases.LicensesCommonMethods
1221
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
117
Given path '/internalapi/api/reference'
0
118
* def dbSts = db.cleanHeap()
1056
119
And header authorization = 'Bearer ' + strToken
0
120
And header Content-Type = 'application/json;charset=utf-8'
0
121
And header Accept = 'text/plain'
0
# * def query = {name:countyzone&onlyActives:true}
123
And params {name:countyzone,onlyActives:true}
0
#And param onlyActives='true'
125
And request {}
0
126
When method get
163
20:38:40.431 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/reference?name=countyzone&onlyActives=true
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
1 > Content-Type: application/json;charset=utf-8
1 > Accept: text/plain
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:38:40.594 response time in milliseconds: 162
1 < 200
1 < Content-Length: 11712
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:40 GMT
{"values":[{"CountyId":1,"County":"New York","ShortName":"NEW","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T00:00:00","ModifiedBy":"esandoval","ModifiedDate":"2020-11-10T11:30:56.047"},{"CountyId":2,"County":"Kings","ShortName":"KING","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":3,"County":"Bronx","ShortName":"BRON","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":4,"County":"Queens","ShortName":"QUEE","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":5,"County":"Richmond","ShortName":"RICH","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":6,"County":"Nassau","ShortName":"NASS","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":7,"County":"Suffolk","ShortName":"SUFF","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":8,"County":"Westchester","ShortName":"WEST","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":9,"County":"Orange","ShortName":"ORAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":10,"County":"Putnam","ShortName":"PUTN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":11,"County":"Rockland","ShortName":"ROCK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":12,"County":"Albany","ShortName":"ALBA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":13,"County":"Clinton","ShortName":"CLIN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":14,"County":"Columbia","ShortName":"COLU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":15,"County":"Dutchess","ShortName":"DUTC","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":16,"County":"Essex","ShortName":"ESSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":17,"County":"Franklin","ShortName":"FRAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":18,"County":"Fulton","ShortName":"FULT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":19,"County":"Greene","ShortName":"GREE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":20,"County":"Hamilton","ShortName":"HAMI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":21,"County":"Montgomery","ShortName":"MONT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":22,"County":"Rensselaer","ShortName":"RENS","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":23,"County":"Saratoga","ShortName":"SARA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":24,"County":"Schenectady","ShortName":"SCHE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":25,"County":"Schoharie","ShortName":"SCHO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":26,"County":"Sullivan","ShortName":"SULL","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":27,"County":"Ulster","ShortName":"ULST","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":28,"County":"Warren","ShortName":"WARR","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":29,"County":"Washington","ShortName":"WASH","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":30,"County":"Allegany","ShortName":"ALLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":31,"County":"Cattaraugus","ShortName":"CATT","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":32,"County":"Chautauqua","ShortName":"CHAU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":33,"County":"Chemung","ShortName":"CHEM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":34,"County":"Erie","ShortName":"ERIE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":35,"County":"Genesee","ShortName":"GENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":36,"County":"Livingston","ShortName":"LIVI","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":37,"County":"Monroe","ShortName":"MONR","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":38,"County":"Niagara","ShortName":"NIAG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":39,"County":"Ontario","ShortName":"ONTA","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":40,"County":"Orleans","ShortName":"ORLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":41,"County":"Schuyler","ShortName":"SCHU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":42,"County":"Seneca","ShortName":"SENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":43,"County":"Steuben","ShortName":"STEU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":44,"County":"Wayne","ShortName":"WAYN","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":45,"County":"Wyoming","ShortName":"WYOM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":46,"County":"Yates","ShortName":"YATE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":47,"County":"Broome","ShortName":"BROO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":48,"County":"Chenango","ShortName":"CHEN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":49,"County":"Cortland","ShortName":"CORT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":50,"County":"Delaware","ShortName":"DELA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":51,"County":"Herkimer","ShortName":"HERK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":52,"County":"Jefferson","ShortName":"JEFF","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":53,"County":"Lewis","ShortName":"LEWI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":54,"County":"Madison","ShortName":"MADI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":55,"County":"Oneida","ShortName":"ONEI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":56,"County":"Onondaga","ShortName":"ONON","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":57,"County":"Oswego","ShortName":"OSWE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":58,"County":"Otsego","ShortName":"OTSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":59,"County":"St. Lawrence","ShortName":"ST L","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":60,"County":"Cayuga","ShortName":"CAYU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":61,"County":"Tioga","ShortName":"TIOG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":62,"County":"Tompkins","ShortName":"TOMP","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.6","ModifiedBy":null,"ModifiedDate":null}],"name":"countyzone","schema":[{"columnName":"CountyId","dataType":"int","maxLenght":null,"isRequired":true},{"columnName":"County","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ShortName","dataType":"nvarchar","maxLenght":10,"isRequired":false},{"columnName":"ZoneNo","dataType":"int","maxLenght":null,"isRequired":false},{"columnName":"IsActive","dataType":"bit","maxLenght":null,"isRequired":false},{"columnName":"CreatedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"CreatedDate","dataType":"datetime","maxLenght":null,"isRequired":false},{"columnName":"ModifiedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ModifiedDate","dataType":"datetime","maxLenght":null,"isRequired":false}]}
127
* configure continueOnStepFailure = true
0
128
Then status 200
0
129
And def values = response.values
0
130
* configure continueOnStepFailure = true
0
187
* def countyData = karate.jsonPath(values, "$[?(@.CountyId == '" + CountyId + "')]")
1
188
* def countyZone = countyData[0].ZoneNo
0
189
And print countyZone
0
20:38:40.600 [print] 2
190
Given path '/internalapi/api/licensing/renewal/save'
0
191
* def dbSts = db.cleanHeap()
360
192
And header authorization = 'Bearer ' + strToken
0
193
And header Content-Type = 'application/json; charset=utf-8'
0
194
And header Accept = 'application/json; text/plain;*/*'
0
195
And configure continueOnStepFailure = true
0
196
And request {"mainLicenseId":'#(licenseId)',"associated":[],"notQualifiedApplication":'#(notQualifiedApplication)',"NotQualifiedComments":'#(notQlfdAppMessage)'}
0
197
When method Post
152
20:38:40.962 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/renewal/save
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > Content-Length: 107
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"mainLicenseId":"0566-22-29142","associated":[],"notQualifiedApplication":false,"NotQualifiedComments":""}
20:38:41.112 response time in milliseconds: 150
2 < 200
2 < Content-Length: 173
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:08:40 GMT
[{"appId":14002,"formId":1206,"childAppId":null,"mainApplicationId":"RE-22-06381-01","childApplicationId":null,"licensePermitTypeId":422,"description":"Industrial alcohol"}]
198
* configure continueOnStepFailure = true
0
199
Then status 200
0
200
* def description = response[0].description
1
201
* def appId = response[0].appId
0
202
* def formId = response[0].formId
0
203
* def ApplicationId = response[0].mainApplicationId
0
204
And print ApplicationId
0
20:38:41.114 [print] RE-22-06381-01
205
And match ApplicationId contains 'RE-'
0
207
* def currentYear = '-'+getYearFunc()+'-'
0
208
And match ApplicationId contains currentYear
0
333
* call read('LicensesCommonMethods.feature@FillAndSaveApplicantInformationPage') {}
850
>>
karate.UseCases.LicensesCommonMethods
189
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
700
* def getDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
709
Given path '/internalapi/api/licensing/app/static/applicantinfo/save/'+appId
0
710
And header Content-Type = 'application/json; charset=utf-8'
0
712
* def autoFirstName = firstName + getDate()
0
713
* def legalName = autoFirstName + lastName
0
714
And header Accept = 'application/json; text/plain;*/*'
0
715
And header authorization = 'Bearer ' + strToken
0
716
And request {"businessInfo":{"website":null,"businessEntity":{"individualOrganization":'#(indOrgCode)',"corporateStructure":'#(CorporateStructureDropDownCode)',"firstName":'#(autoFirstName)',"lastName":'#(lastName)',"middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":'#(legalName)',"id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":'#(IndOrgSelectionDropDown)',"corporateStructureText":'#(CorporateStructureDropDown)',"isIndividual":'#(isIndStatus)'},"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"2","phoneTypeText":"Office","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
0
717
When method post
184
20:38:41.775 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/applicantinfo/save/14002
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
1 > Content-Length: 2167
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"businessInfo":{"website":null,"businessEntity":{"individualOrganization":1,"corporateStructure":1,"firstName":"Automation20221115203841","lastName":"Automation","middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":"Automation20221115203841Automation","id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":"Individual","corporateStructureText":"Individual","isIndividual":true},"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"2","phoneTypeText":"Office","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
20:38:41.958 response time in milliseconds: 183
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:41 GMT
1 < Content-Length: 2187
{"businessInfo":{"id":0,"website":null,"isLicensed":true,"isAssociated":false,"businessEntity":{"id":0,"individualOrganization":"1","corporateStructure":1,"isEmployeeForSoleProprietor":null,"firstName":"Automation20221115203841","lastName":"Automation","middleName":null,"ssn":"","fein":"","legalName":"Automation20221115203841Automation","suffix":"1","corporateStructureText":"Individual","individualOrganizationText":"Individual","isIndividual":true},"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":0,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":0,"phoneType":3,"countryCode":"+91","phone":"999-999-9999","phoneExtension":"1234"}]}},"premisesInfo":{"id":0,"dba":null,"countyId":0,"countyName":null,"isDbaSearched":null,"isPremisesRequired":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":0,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":0,"phoneType":2,"countryCode":"+91","phone":"999-999-9999","phoneExtension":"1234"}]}},"applicantDetail":{"id":0,"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"isPhysicalChange":null,"applicantStatement":{"id":0,"nameOfApplicant":null,"title":null,"signature":null,"date":null}}}
718
Then status 200
0
334
* call read('RenewalCommonMethods.feature@SaveAssociatedPrincipal') {}
587
>>
karate.UseCases.RenewalCommonMethods
359
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def date = getDate2()
1
17
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
26
* def effectiveDate = effectiveDateFunc()
0
30
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
39
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
50
* def fundDueDate = fundDueDateFunc(7)
1
53
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
64
* def conditionDefinedDateFunction =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.00");
var date = new java.util.Date();
return sdf.format(date);
}
75
* def conditionDefinedDate = conditionDefinedDateFunction()
1
76
* def conditionDefinedDateFunctionwithAddedDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var date = new java.util.Date();
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
88
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
99
* def getRenewalReviewFunc =
0
function(reviewType){
if (reviewType == 'Send to Licensing Board'){
return 2;
}
else if (reviewType == 'Send to Full Board Preview Team'){
return 3;
}
else if (reviewType == 'Define Deficiencies'){
return 1;
}
}
464
Given path '/internalapi/api/licensing/app/static/principal/'+appId
0
466
And header Content-Type = 'application/json; charset=utf-8'
0
467
And header Accept = 'application/json; text/plain;*/*'
0
468
And header authorization = 'Bearer ' + strToken
0
469
And request {}
0
470
When method get
147
20:38:42.195 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/principal/14002
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:38:42.340 response time in milliseconds: 145
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:41 GMT
1 < Content-Length: 1388
{"entities":[],"principals":[{"principalId":3324,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":true,"isFingerprintsApproved":true,"percentageOfOwners":20.0,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","entities":null,"numberOfShares":"","isSignature":false,"isRemove":false,"date":"2022-11-15T00:00:00","convictedOfCrime":"1","title":"15","isLicensed":true,"isAssociated":true,"person":{"personId":5641,"firstName":"Automation20221115203823","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T00:00:00","serialNo":0,"age":0,"choosedEntity":[]},"address":{"addressId":29492,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25400,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}}]}
471
Then status 200
0
472
* def personResponse = response
0
473
* def principalId = personResponse.principals[0].principalId
0
474
* def personId = personResponse.principals[0].person.personId
0
475
* def licFirstName = personResponse.principals[0].person.firstName
0
476
* def licLastName = personResponse.principals[0].person.lastName
0
477
* def licCommID = personResponse.principals[0].communication.id
0
478
* def licEmailID = personResponse.principals[0].communication.email
0
479
* def licAddressId = personResponse.principals[0].address.addressId
0
480
Given path '/internalapi/api/licensing/app/static/principal/save/'+appId
0
482
And header Content-Type = 'application/json; charset=utf-8'
0
483
* def getDate1 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
492
* def prncipalName = 'AutoRenewal'+getDate1()
1
494
And header Accept = 'application/json; text/plain;*/*'
0
495
And header authorization = 'Bearer ' + strToken
0
498
And request {"entities":[],"principals":[{"principalId":'#(principalId)',"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":null,"isFingerprintsApproved":null,"percentageOfOwners":null,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":true,\"isNewPrincipal\":false}","entities":null,"numberOfShares":"","isSignature":null,"isRemove":false,"date":null,"convictedOfCrime":"","title":"","isLicensed":null,"isAssociated":null,"person":{"personId":'#(personId)',"firstName":'#(licFirstName)',"middleName":"","lastName":'#(licLastName)',"suffix":"","socialSecurityNo":"","birthDate":null,"serialNo":0,"age":null,"choosedEntity":null},"address":{"addressId":'#(licAddressId)',"appId":null,"addressLine1":"","addressLine2":"","city":"","stateId":40,"county":"","zipCode":"","zip4":"","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":'#(licCommID)',"email":'#(licEmailID)',"confirmEmail":'#(licEmailID)',"phones":[]}},{"principalId":0,"convictedOfCrime":"","percentageOfOwners":"","isFingerprintRequired":"","isFingerprintsApproved":"","title":"","numberOfShares":"","isSignature":"","date":"","address":{"addressLine1":"Test Address1","addressLine2":"","stateId":40,"county":"New York","city":"New York","zipCode":"12345","zip4":"1234","country":"United States (US)","stateName":"New York","countryId":229,"zip":"12345"},"person":{"personId":0,"firstName":"Automation","middleName":"","lastName":"Renewal LicPermit","suffix":"","socialSecurityNo":"","birthDate":"","age":"","choosedEntity":null,"ssnFormat":""},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":'#(licEmailID)',"confirmEmail":'#(licEmailID)'},"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
0
499
When method post
206
20:38:42.344 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/principal/save/14002
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
2 > Content-Length: 2220
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"entities":[],"principals":[{"principalId":3324,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":null,"isFingerprintsApproved":null,"percentageOfOwners":null,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":true,\"isNewPrincipal\":false}","entities":null,"numberOfShares":"","isSignature":null,"isRemove":false,"date":null,"convictedOfCrime":"","title":"","isLicensed":null,"isAssociated":null,"person":{"personId":5641,"firstName":"Automation20221115203823","middleName":"","lastName":"AutoLastName","suffix":"","socialSecurityNo":"","birthDate":null,"serialNo":0,"age":null,"choosedEntity":null},"address":{"addressId":29492,"appId":null,"addressLine1":"","addressLine2":"","city":"","stateId":40,"county":"","zipCode":"","zip4":"","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25400,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}},{"principalId":0,"convictedOfCrime":"","percentageOfOwners":"","isFingerprintRequired":"","isFingerprintsApproved":"","title":"","numberOfShares":"","isSignature":"","date":"","address":{"addressLine1":"Test Address1","addressLine2":"","stateId":40,"county":"New York","city":"New York","zipCode":"12345","zip4":"1234","country":"United States (US)","stateName":"New York","countryId":229,"zip":"12345"},"person":{"personId":0,"firstName":"Automation","middleName":"","lastName":"Renewal LicPermit","suffix":"","socialSecurityNo":"","birthDate":"","age":"","choosedEntity":null,"ssnFormat":""},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":"automation@svam.com","confirmEmail":"automation@svam.com"},"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
20:38:42.549 response time in milliseconds: 205
2 < 200
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:08:41 GMT
2 < Content-Length: 2326
{"entities":[],"principals":[{"principalId":3324,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":null,"isFingerprintsApproved":null,"percentageOfOwners":null,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":null,"entities":null,"numberOfShares":"","isSignature":null,"isRemove":false,"date":null,"convictedOfCrime":"","title":"","isLicensed":null,"isAssociated":null,"person":{"personId":5641,"firstName":"Automation20221115203823","middleName":"","lastName":"AutoLastName","suffix":"","socialSecurityNo":"","birthDate":null,"serialNo":0,"age":null,"choosedEntity":[]},"address":{"addressId":29492,"appId":null,"addressLine1":"","addressLine2":"","city":"","stateId":40,"county":"","zipCode":"","zip4":"","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25400,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}},{"principalId":3325,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":null,"isFingerprintsApproved":null,"percentageOfOwners":null,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":null,"entities":null,"numberOfShares":"","isSignature":null,"isRemove":false,"date":null,"convictedOfCrime":"","title":"","isLicensed":null,"isAssociated":null,"person":{"personId":0,"firstName":"Automation","middleName":"","lastName":"Renewal LicPermit","suffix":"","socialSecurityNo":"","birthDate":null,"serialNo":0,"age":null,"choosedEntity":[]},"address":{"addressId":0,"appId":null,"addressLine1":"Test Address1","addressLine2":"","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":0,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}}]}
500
Then status 200
0
335
* call read('RenewalCommonMethods.feature@RenewalLicFillingFee') {amount:40000}
5355
>>
karate.UseCases.RenewalCommonMethods
5117
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def date = getDate2()
1
17
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
26
* def effectiveDate = effectiveDateFunc()
0
30
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
39
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
50
* def fundDueDate = fundDueDateFunc(7)
1
53
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
64
* def conditionDefinedDateFunction =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.00");
var date = new java.util.Date();
return sdf.format(date);
}
75
* def conditionDefinedDate = conditionDefinedDateFunction()
0
76
* def conditionDefinedDateFunctionwithAddedDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var date = new java.util.Date();
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
88
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
99
* def getRenewalReviewFunc =
0
function(reviewType){
if (reviewType == 'Send to Licensing Board'){
return 2;
}
else if (reviewType == 'Send to Full Board Preview Team'){
return 3;
}
else if (reviewType == 'Define Deficiencies'){
return 1;
}
}
673
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
674
* def totalFees = licenseFees + fillingFees
0
675
And print totalFees
0
20:38:42.791 [print] 212.0
676
And header Content-Type = 'application/json; charset=utf-8'
0
677
And header Accept = 'application/json; text/plain;*/*'
0
678
And header authorization = 'Bearer ' + strToken
0
679
And request {}
0
680
When method get
258
20:38:42.791 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/14002
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:38:43.048 response time in milliseconds: 257
1 < 200
1 < Content-Length: 653
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:43 GMT
[{"licenseName":"Industrial alcohol","applicationId":"RE-22-06381-01","applicationTypeId":2,"appFeesId":0,"appId":14002,"feesRefId":7170,"initialFees":0.0,"licensingFees":192.00,"amendmentFees":0.0,"renewalFees":30.00,"totalFees":0.0,"filingFees":0.0,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
681
Then status 200
0
682
And def serverResponse = response
0
683
* def licTerm = serverResponse[0].term
0
684
* def licFees = serverResponse[0].licensingFees+''
0
685
* def licTermDesc = serverResponse[0].termDesc
0
686
* def licFeesRefId = serverResponse[0].feesRefId
0
688
* def licAncillaryFees = serverResponse[0].ancillaryFees+''
0
689
* def licfilingFees = serverResponse[0].filingFees+''
0
690
* def licInitialFees = serverResponse[0].initialFees
0
# And def totalFees = licInitialFees+licfilingFees+licAncillaryFees
#And print totalFees
697
Given path '/internalapi/api/notification/SaveNotification'
0
699
And header Content-Type = 'application/json; charset=utf-8'
0
700
And header Accept = 'application/json; text/plain;*/*'
0
701
And header authorization = 'Bearer ' + strToken
0
702
And request {"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}
0
703
When method post
164
20:38:43.050 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/notification/SaveNotification
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
2 > Content-Length: 2006
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":14002,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14002,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14002,"createdBy":"Tarun Gupta"}
20:38:43.213 response time in milliseconds: 163
2 < 200
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:08:43 GMT
2 < Content-Length: 5
false
704
Then status 200
0
705
And print response
0
20:38:43.213 [print] false
710
Given path 'internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
711
And header Content-Type = 'application/json; charset=utf-8'
0
712
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
726
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
735
* def date = getDate2()
1
736
* def futureDate = futureDateFunc()
1
737
And header Accept = 'application/json; text/plain;*/*'
0
738
And header authorization = 'Bearer ' + strToken
0
740
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":40000}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees1)',"totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":'#(licTerm)',"termDesc":'#(licTermDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-03-31T00:00:00.000Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
741
When method post
3450
20:38:43.217 request:
3 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/14002/false
3 > Content-Type: application/json; charset=utf-8
3 > Accept: application/json; text/plain;*/*
3 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
3 > Content-Length: 5063
3 > Host: slaleapqaapi.svam.com
3 > Connection: Keep-Alive
3 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
3 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":14002,"slaintakeDate":"2022-11-15T20:38:43.214Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T20:38:43.214Z","amount":40000}],"appFees":{"appFees":[{"licenseName":"Industrial alcohol","applicationId":"RE-22-06381-01","applicationTypeId":1,"appFeesId":0,"appId":14002,"feesRefId":7170,"initialFees":0,"licensingFees":192,"amendmentFees":"0.00","renewalFees":"30","totalFees":212.0,"filingFees":"0","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":212.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-03-31T00:00:00.000Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":14002,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14002,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14002,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":14002,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14002,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14002,"createdBy":"Tarun Gupta"},"taskId":null}
20:38:46.667 response time in milliseconds: 3450
3 < 200
3 < Content-Length: 4
3 < Content-Type: application/json; charset=utf-8
3 < Server: Microsoft-IIS/10.0
3 < Strict-Transport-Security: max-age=2592000
3 < X-Powered-By: ASP.NET
3 < Date: Tue, 15 Nov 2022 15:08:46 GMT
true
742
Then status 200
0
744
Given path 'internalapi/api/licensing/fees/check-payments/get/'+appId
0
745
And header authorization = 'Bearer ' + strToken
0
746
And request {}
0
747
When method get
152
20:38:46.668 request:
4 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/check-payments/get/14002
4 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
4 > Content-Type: application/json; charset=UTF-8
4 > Content-Length: 2
4 > Host: slaleapqaapi.svam.com
4 > Connection: Keep-Alive
4 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
4 > Accept-Encoding: gzip,deflate
{}
20:38:46.819 response time in milliseconds: 151
4 < 200
4 < Content-Type: application/json; charset=utf-8
4 < Server: Microsoft-IIS/10.0
4 < Strict-Transport-Security: max-age=2592000
4 < X-Powered-By: ASP.NET
4 < Date: Tue, 15 Nov 2022 15:08:46 GMT
4 < Content-Length: 443
[{"checkDetailId":2400,"appId":14002,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T00:00:00","slaintakeDate":"2022-11-15T00:00:00","amount":40000.0000,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T10:08:46.643","modifiedBy":null,"modifiedDate":null}]
748
Then status 200
0
749
And def checkDetailId = response[0].checkDetailId
0
750
And print checkDetailId
0
20:38:46.820 [print] 2400
752
Given path '/internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
753
And header Content-Type = 'application/json; charset=utf-8'
0
754
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
765
* def futureDate = futureDateFunc()
2
766
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
775
* def date = getDate2()
0
777
And header Accept = 'application/json; text/plain;*/*'
0
778
And header authorization = 'Bearer ' + strToken
0
779
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(totalFees)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":'#(licInitialFees)',"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees1)',"totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":'#(licAncillaryFees)',"isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(futureDate)',"emailNotificationDetail":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
782
When method post
199
20:38:46.824 request:
5 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/14002/false
5 > Content-Type: application/json; charset=utf-8
5 > Accept: application/json; text/plain;*/*
5 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
5 > Content-Length: 5060
5 > Host: slaleapqaapi.svam.com
5 > Connection: Keep-Alive
5 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
5 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":14002,"slaintakeDate":"2022-11-15T20:38:46.822Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T20:38:46.822Z","amount":212.0}],"appFees":{"appFees":[{"licenseName":"Industrial alcohol","applicationId":"RE-22-06381-01","applicationTypeId":1,"appFeesId":0,"appId":14002,"feesRefId":7170,"initialFees":0.0,"licensingFees":192,"amendmentFees":"0.00","renewalFees":"30","totalFees":212.0,"filingFees":"0","ancillaryFees":"0","isFeesWaived":false,"underPaymentAmount":212.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-12-15T20:38:46.821Z","emailNotificationDetail":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":14002,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14002,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14002,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":14002,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14002,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14002,"createdBy":"Tarun Gupta"},"taskId":null}
20:38:47.021 response time in milliseconds: 197
5 < 200
5 < Content-Length: 4
5 < Content-Type: application/json; charset=utf-8
5 < Server: Microsoft-IIS/10.0
5 < Strict-Transport-Security: max-age=2592000
5 < X-Powered-By: ASP.NET
5 < Date: Tue, 15 Nov 2022 15:08:46 GMT
true
783
Then status 200
0
# ********* SAVE Application Details To Save *********************
787
Given path '/internalapi/api/licensing/app/save'
0
788
And header authorization = 'Bearer ' + strToken
0
789
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":'#(appId)',"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
790
When method post
313
20:38:47.024 request:
6 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
6 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
6 > Content-Type: application/json; charset=UTF-8
6 > Content-Length: 30722
6 > Host: slaleapqaapi.svam.com
6 > Connection: Keep-Alive
6 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
6 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":14002,"formID":1206,"applicationID":"RE-22-06381-01","formName":"Industrial alcohol","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":14002,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
20:38:47.335 response time in milliseconds: 311
6 < 200
6 < Content-Length: 48
6 < Content-Type: application/json; charset=utf-8
6 < Server: Microsoft-IIS/10.0
6 < Strict-Transport-Security: max-age=2592000
6 < X-Powered-By: ASP.NET
6 < Date: Tue, 15 Nov 2022 15:08:46 GMT
{"appId":14002,"applicationId":"RE-22-06381-01"}
791
Then status 200
0
# ********* Save PAYMENT *********************
796
Given path '/internalapi/api/licensing/fees/details/save/'+appId +'/false'
0
797
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
808
* def slaDate = licFeesDate()
1
809
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
821
* def slaaDate = licDate()
0
822
* def licInitialFees1 = licInitialFees+''
0
823
And print licInitialFees1
0
20:38:47.337 [print] 0
824
* def renewalFees1 = renewalFees+''
0
825
And print renewalFees1
0
20:38:47.337 [print] 30
826
* def totalFees1 = totalFees+''
0
828
And print totalFees1
0
20:38:47.337 [print] 212
829
* def licAncillaryFees1 = licAncillaryFees+''
0
830
* def licfilingFees1 = licfilingFees+''
0
832
And header authorization = 'Bearer ' + strToken
0
833
And request {"checks":[{"checkDetailId":'#(checkDetailId)',"appId":'#(appId)',"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":'#(date)',"slaintakeDate":'#(date)',"amount":40000,"appliedTo":null,"amountUsed":40000,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-03-24T09:43:00.873","modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":'#(licFeesRefId)',"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees1)',"totalFees":'#(totalFees1)',"filingFees":'#(licfilingFees1)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":0,"amountReceived":"40000.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":'#(appId)',"checkDetailId":'#(checkDetailId)',"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":"40000.00","amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":"1970-01-01T00:00:00.000Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
# {"checks":[{"checkDetailId":1622,"appId":5856,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T00:00:00.000Z","slaintakeDate":"2022-09-23T00:00:00.000Z","amount":"100.00","isPaymentFailed":false,"appliedTo":null,"amountUsed":100,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-09-23T13:22:04.11","modifiedBy":null,"modifiedDate":null,"applyClick":true},{"checkDetailId":1623,"appId":5856,"paymentSource":"RDC","checkNo":"2","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T00:00:00.000Z","slaintakeDate":"2022-09-23T00:00:00.000Z","amount":"10.00","isPaymentFailed":false,"appliedTo":null,"amountUsed":10,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-09-23T13:22:04.113","modifiedBy":null,"modifiedDate":null,"applyClick":true}],"appFees":{"appFees":[{"licenseName":"Restaurant - Beer","applicationId":"RE-22-106102-01","applicationTypeId":2,"appFeesId":3976,"appId":5856,"feesRefId":6039,"initialFees":0,"licensingFees":"960.00","am "paymentDetails":[{"appPaymentId":2112,"amountAppliedForApp":"100.00","checkDetailId":1622,"appId":5856,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T00:00:00","slaintakeDate":"2022-09-23T00:00:00","amount":0,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":null,"createdDate":"2022-09-23T13:21:19.61","modifiedBy":"tgupta@svam.com","modifiedDate":"2022-09-23T13:22:04.06"},{"appPaymentId":2113,"amountAppliedForApp":"10.00","checkDetailId":1623,"appId":5856,"paymentSource":"RDC","checkNo":"2","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T00:00:00","slaintakeDate":"2022-09-23T00:00:00","amount":0,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":null,"createdDate":"2022-09-23T13:21:19.623","modifiedBy":"tgupta@svam.com","modifiedDate":"2022-09-23T13:22:04.07"}],"lateFee":0,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}],"isBondRequired":true,"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":true,"fundDueDate":"2022-09-30T00:00:00.000Z","emailNotificationDetail":{"applicant":{"communicationId":0,"email":"automation@svam.com","appId":5856,"emailContactTypeId":1,"isChecked":true,"roleId":3,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":19517,"email":"sbandi@svam.com","appId":5856,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"automation@test.com","appId":5856,"emailContactTypeId":0,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":true,"appId":5856,"notificationTypeId":96}},"notificationDetails":{"applicant":{"communicationId":0,"email":"automation@svam.com","appId":5856,"emailContactTypeId":1,"isChecked":true,"roleId":3,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":19517,"email":"sbandi@svam.com","appId":5856,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"automation@test.com","appId":5856,"emailContactTypeId":0,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":true,"appId":5856,"notificationTypeId":96},"taskId":2066}
# {"checks":[{"checkDetailId":1625,"appId":5858,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T22:56:37.353Z","slaintakeDate":"2022-09-23T22:56:37.353Z","amount":100 ,"appliedTo":null,"amountUsed":100,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-09-23T22:56:37.353,"modifiedBy":null,"modifiedDate":null,"applyClick":true,"{"checkDetailId":1626,"appId":5858,"paymentSource":"RDC","checkNo":"2","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T22:56:37.353Z","slaintakeDate":"2022-09-23T22:56:37.353Z","amount":"10" ,"appliedTo":null,"amountUsed":0 ,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-09-23T22:56:37.353 ,"modifiedBy":null,"modifiedDate":null,"applyClick":true,],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer", "applicationId":"RE-22-106103-01","applicationTypeId":1,"appFeesId":6039,"appId":5858,"feesRefId":6039,"initialFees":0,"licensingFees":960 ,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":"960" ,"filingFees":"0" ,"ancillaryFees":"0" ,"isFeesWaived":false,"underPaymentAmount":0 ,"amountReceived":"10" ,"waivedComment":null,"isBondReceived":false,"isBondRequired":true,"bondFee":1000,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":5858,"checkDetailId":1625,"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":"100.00","amount":0},{"appId":5858,"checkDetailId":1626,"checkNo":"2","itemNo":"1","batchNo":"1","amountAppliedForApp":"10","amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"isFromReturnedCheck":false,"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":true,"fundDueDate":"2022-09-30T22:56:36.973Z","emailNotificationDetail":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":5858,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":5858,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":5858,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":5858,"createdBy":"Tarun Gupta"},"taskId":null}
836
When method post
206
20:38:47.339 request:
7 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/14002/false
7 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
7 > Content-Type: application/json; charset=UTF-8
7 > Content-Length: 5453
7 > Host: slaleapqaapi.svam.com
7 > Connection: Keep-Alive
7 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
7 > Accept-Encoding: gzip,deflate
{"checks":[{"checkDetailId":2400,"appId":14002,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T20:38:46.822Z","slaintakeDate":"2022-11-15T20:38:46.822Z","amount":40000,"appliedTo":null,"amountUsed":40000,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-03-24T09:43:00.873","modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":"Industrial alcohol","applicationId":"RE-22-06381-01","applicationTypeId":1,"appFeesId":7170,"appId":14002,"feesRefId":7170,"initialFees":0,"licensingFees":192,"amendmentFees":"0.00","renewalFees":"30","totalFees":"212","filingFees":"0","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":0,"amountReceived":"40000.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":14002,"checkDetailId":2400,"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":"40000.00","amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":"1970-01-01T00:00:00.000Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":14002,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14002,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14002,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":14002,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14002,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14002,"createdBy":"Tarun Gupta"},"taskId":null}
20:38:47.545 response time in milliseconds: 206
7 < 200
7 < Content-Length: 4
7 < Content-Type: application/json; charset=utf-8
7 < Server: Microsoft-IIS/10.0
7 < Strict-Transport-Security: max-age=2592000
7 < X-Powered-By: ASP.NET
7 < Date: Tue, 15 Nov 2022 15:08:46 GMT
true
837
Then status 200
0
838
And print response
0
20:38:47.545 [print] true
# ********* SAVE Application Details To Save *********************
843
Given path '/internalapi/api/licensing/app/save'
0
844
And header authorization = 'Bearer ' + strToken
0
845
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":'#(appId)',"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
846
When method post
360
20:38:47.549 request:
8 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
8 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
8 > Content-Type: application/json; charset=UTF-8
8 > Content-Length: 30722
8 > Host: slaleapqaapi.svam.com
8 > Connection: Keep-Alive
8 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
8 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":14002,"formID":1206,"applicationID":"RE-22-06381-01","formName":"Industrial alcohol","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":14002,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
20:38:47.907 response time in milliseconds: 358
8 < 200
8 < Content-Length: 48
8 < Content-Type: application/json; charset=utf-8
8 < Server: Microsoft-IIS/10.0
8 < Strict-Transport-Security: max-age=2592000
8 < X-Powered-By: ASP.NET
8 < Date: Tue, 15 Nov 2022 15:08:47 GMT
{"appId":14002,"applicationId":"RE-22-06381-01"}
847
Then status 200
0
848
And def serverResponse = response
0
336
* call read('LicensesCommonMethods.feature@UploadDocumentAmendment') {}
763
>>
karate.UseCases.LicensesCommonMethods
230
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
5666
* def receivedDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy/MM/dd");
var date = new java.util.Date();
return sdf.format(date);
}
5675
* def receivedDate = receivedDateFunc()
1
5677
Given path '/internalapi/api/document/UploadDocument'
0
5678
And header Content-Type = 'application/json; charset=utf-8'
0
5679
And header Accept = 'application/json; text/plain;*/*'
0
5680
And header authorization = 'Bearer ' + strToken
0
5681
And request {"documentDesc":"TestDocument.docx","acaId":'#(appId)',"acaType":"application","bureau":"bureau","documentType":{"key":1,"value":"20 DAY NOTICE","description":null,"documentSubCategory":"20 DAY"},"documentCategory":null,"receivedDate":'#(receivedDate)',"createdDate":'#(date)',"documentBase64":"data:application/vnd.openxmlformats-officedocument.wordpr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ueG1sUEsBAi0AFAAGAAgAAAAhAHvzAqPDAAAAKAEAAB4AAAAAAAAAAAAAAAAAxD0AAGN1c3RvbVhtbC9fcmVscy9pdGVtMy54bWwucmVsc1BLBQYAAAAAFQAVAHsFAADLPwAAAAA=","contentType":"application/vnd.openxmlformats-officedocument.wordprocessingml.document","fileName":"TestDocument.docx","tempGuid":"7a79aee7-0aff-51fb-2e7c-e2445c418b89"}
0
5683
When method post
225
20:38:48.442 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/document/UploadDocument
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
1 > Content-Length: 24547
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"documentDesc":"TestDocument.docx","acaId":14002,"acaType":"application","bureau":"bureau","documentType":{"key":1,"value":"20 DAY NOTICE","description":null,"documentSubCategory":"20 DAY"},"documentCategory":null,"receivedDate":"2022\/11\/15","createdDate":"2022-11-15T20:38:48.437Z","documentBase64":"data:application\/vnd.openxmlformats-officedocument.wordprocessingml.document;base64,UEsDB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AFyWJyLDAAAAKAEAAB4AAAAAAAAAAAAAAAAAQjcAAGN1c3RvbVhtbC9fcmVscy9pdGVtMi54bWwucmVsc1BLAQItABQABgAIAAAAIQB\/i0PDwQAAACIBAAATAAAAAAAAAAAAAAAAAEk5AABjdXN0b21YbWwvaXRlbTMueG1sUEsBAi0AFAAGAAgAAAAhAF2Pkjy5AAAAyQAAABgAAAAAAAAAAAAAAAAAYzoAAGN1c3RvbVhtbC9pdGVtUHJvcHMzLnhtbFBLAQItABQABgAIAAAAIQAAw+x7EQEAAJIBAAATAAAAAAAAAAAAAAAAAHo7AABkb2NQcm9wcy9jdXN0b20ueG1sUEsBAi0AFAAGAAgAAAAhAHvzAqPDAAAAKAEAAB4AAAAAAAAAAAAAAAAAxD0AAGN1c3RvbVhtbC9fcmVscy9pdGVtMy54bWwucmVsc1BLBQYAAAAAFQAVAHsFAADLPwAAAAA=","contentType":"application\/vnd.openxmlformats-officedocument.wordprocessingml.document","fileName":"TestDocument.docx","tempGuid":"7a79aee7-0aff-51fb-2e7c-e2445c418b89"}
20:38:48.667 response time in milliseconds: 225
1 < 200
1 < Content-Length: 4
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:47 GMT
true
5684
Then status 200
0
5685
And print response
0
20:38:48.667 [print] true
5686
* match response == 'true'
0
337
* call read('LicensesCommonMethods.feature@SubmitLicenseAndValidateLicStatus') {expStatus:'Awaiting Review'}
2034
>>
karate.UseCases.LicensesCommonMethods
1506
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Application SUBMIT *********************
1099
Given path '/internalapi/api/licensing/app/submit'
0
1100
And header authorization = 'Bearer ' + strToken
0
1101
And request {"appId":'#(appId)',"wfType":null}
0
1102
When method post
241
20:38:49.200 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/submit
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 29
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"appId":14002,"wfType":null}
20:38:49.441 response time in milliseconds: 241
1 < 200
1 < Content-Length: 120
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:49 GMT
{"success":true,"submittedApps":[{"success":true,"taskId":0,"appId":14002,"applicationId":"RE-22-06381-01","error":""}]}
1103
Then status 200
0
1104
And def serverResponse = response
0
1105
And match response.success == true
0
1106
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
1262
>>
karate.UseCases.LicensesCommonMethods
690
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
530
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
155
20:38:50.536 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/14002
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:38:50.689 response time in milliseconds: 153
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:50 GMT
1 < Content-Length: 212
{"applicationId":"RE-22-06381-01","submitDate":"2022-11-15T10:08:49.36","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":false,"isPreFilled":true}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:38:50.690 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
338
* def SafekeepingStatus = false
0
339
* def licPerType = 'permit'
0
340
* call read('LicensesCommonMethods.feature@AssignApplicationsToExaminer') {expStatus:'Awaiting Review'}
1619
>>
karate.UseCases.LicensesCommonMethods
1080
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* AssignApplicationsSaveDigestDataToExaminer *********************
1139
Given path '/internalapi/api/licensing/examiner/assignApplicationsToExaminer'
0
1140
And header authorization = 'Bearer ' + strToken
0
1141
And request [{"appId":'#(appId)',"examinerId":1069,"priority":"Normal"}]
0
1142
When method post
229
20:38:51.243 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner/assignApplicationsToExaminer
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 55
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"appId":14002,"examinerId":1069,"priority":"Normal"}]
20:38:51.471 response time in milliseconds: 228
1 < 200
1 < Content-Length: 5
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:50 GMT
false
1143
And def serverResponse = response
0
1144
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
848
>>
karate.UseCases.LicensesCommonMethods
370
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
197
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
169
20:38:52.137 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/14002
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:38:52.306 response time in milliseconds: 169
1 < 200
1 < Content-Length: 212
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:52 GMT
{"applicationId":"RE-22-06381-01","submitDate":"2022-11-15T10:08:49.36","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":false,"isPreFilled":true}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:38:52.306 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
374
* def extendedDueDateRenewal = fundDueDateFuncRenewal(15)
1
377
And print extendedDueDateRenewal
0
20:38:52.331 [print] 2022-11-30T20:38:52.331Z
378
* def licPerType = 'permit'
0
379
* call read('RenewalCommonMethods.feature@RenewalPermitExaminerReviewDefineDefencies') {expStatus:'Additional Info Required'}
623
20:38:52.955 classpath:karate/UseCases/Uc_RenewalDueDate.feature:379
* call read('RenewalCommonMethods.feature@RenewalPermitExaminerReviewDefineDefencies') {expStatus:'Additional Info Required'}
status code was: 450, expected: 200, response time in milliseconds: 240, url: https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner-review/saveDecision, response:
{
"statusCode": 450,
"message": "6e98ef02342a : Current task is not valid"
}
classpath:karate/UseCases/RenewalCommonMethods.feature:1486
classpath:karate/UseCases/Uc_RenewalDueDate.feature:379
>>
karate.UseCases.RenewalCommonMethods
436
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def date = getDate2()
0
17
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
26
* def effectiveDate = effectiveDateFunc()
0
30
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
39
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
50
* def fundDueDate = fundDueDateFunc(7)
1
53
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
64
* def conditionDefinedDateFunction =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.00");
var date = new java.util.Date();
return sdf.format(date);
}
75
* def conditionDefinedDate = conditionDefinedDateFunction()
0
76
* def conditionDefinedDateFunctionwithAddedDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var date = new java.util.Date();
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
88
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
99
* def getRenewalReviewFunc =
0
function(reviewType){
if (reviewType == 'Send to Licensing Board'){
return 2;
}
else if (reviewType == 'Send to Full Board Preview Team'){
return 3;
}
else if (reviewType == 'Define Deficiencies'){
return 1;
}
}
# ********* RenewalPermitExaminerReviewDefineDefencies *********************
1453
* def summisionDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS");
var date = new java.util.Date();
return sdf.format(date);
}
1461
Given path '/internalapi/api/application/'+appId
0
1462
And header Content-Type = 'application/json; charset=utf-8'
0
1463
And header Accept = 'application/json; text/plain;*/*'
0
1464
And header authorization = 'Bearer ' + strToken
0
1465
And request {}
0
1466
When method get
185
20:38:52.518 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/14002
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:38:52.702 response time in milliseconds: 184
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:52 GMT
1 < Content-Length: 2490
{"applicationCategory":6,"appId":14002,"applicationId":"RE-22-06381-01","licePermitTypeId":null,"applicationTypeId":2,"formVersionId":1365,"formId":1206,"legalName":"Automation20221115203841Automation","submitDate":"2022-11-15T10:08:49.36","isGISRequired":false,"licenseDescription":"Industrial alcohol","recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":"New York","priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Awaiting Review","taskId":2020,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":false,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":"12/15/2022 12:00:00 AM","memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":2751,"appId":14002,"examinerId":1069,"name":null,"assignDate":"2022-11-15T10:08:51.393","isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":422,"type":"2","category":"6","product":"","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":true,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":422,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"clericalName":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"isFairOrFestival":false,"isShowEffExpDateOnLBReview":false,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":"2022-11-15T10:08:51.407"}
1467
Then status 200
0
1468
And def serverResponse = response
0
1469
* def applicationTypeId = serverResponse.applicationTypeId
0
1470
* def amendmentTypeId = serverResponse.amendmentTypeId
0
1472
* def ApplicationId = serverResponse.applicationId
0
1473
* def formVersionId = serverResponse.formVersionId
0
1474
* def formId = serverResponse.formId
0
1475
* def pastDueDate = serverResponse.pastDueDate
0
1476
And print pastDueDate
0
20:38:52.703 [print] 12/15/2022 12:00:00 AM
1477
* def appExaminerId = serverResponse.assignAppExaminer.appExaminerId
0
1478
* def countyName = serverResponse.assignAppExaminer.countyName
2
1480
Given path '/internalapi/api/licensing/examiner-review/saveDecision'
0
1481
* def formatedSumbitDate = summisionDate()
1
1482
And header authorization = 'Bearer ' + strToken
0
1483
And header current-wfroleid = 4
0
1484
And request {"isFingerPrintsApproved":true,"isFingerPrintsRequired":true,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"appId":'#(appId)',"applicationId":"","applicationType":2,"taskId":2059,"application":{"applicationCategory":1,"appId":'#(appId)',"applicationId":'#(ApplicationId)',"licePermitTypeId":null,"applicationTypeId":2,"formVersionId":'#(formVersionId)',"formId":'#(formId)',"legalName":"Automation20220922133655Automation","submitDate":"2022-09-22T04:06:59.267","isGISRequired":null,"licenseDescription":"Restaurant-Beer","recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":"New York","priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Additional Info Received","taskId":2059,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":true,"isHighlyDeficient":null,"isAllDeficienciesMet":false,"pastDueDate":"10/22/2022 12:00:00 AM","memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":3110,"appId":'#(appId)',"examinerId":1069,"name":null,"assignDate":"2022-09-22T04:07:00.5","isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":40,"type":"1","category":"1","product":"Beer","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":40,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"clericalName":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"isFairOrFestival":false,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":"2022-09-22T04:07:04.213"},"newComments":"","defineDeficiencies":{"isHighlyDeficientApplication":null,"isAllDeficienciesMet":false,"isFinalDeficiency":true},"approvedRenewal":{},"hasErrors":[],"emailNotificationModel":{"applicant":{"communicationId":18448,"email":"automation@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":""}},"recommendedDecisionId":null,"decisionType":{"name":"No And Define Final Deficiency","value":10,"isChecked":null},"erDeficiencies":{"deficiencies":[],"descriptions":[],"deficienciesList":[],"selectInput":{"fromFields":[{"id":4,"label":"Applicant Name doesnt match Filing Receipt","fullText":"As the applicant is a corporation, LLC or LLP, the applicant name must be the same as the name on the filing receipt."},{"id":5,"label":"Secretary of State filing receipt missing","fullText":"Submit a copy of the Secretary of State filing receipt for the corp/LLC/LLP"},{"id":6,"label":"Corporate Minutes Missing","fullText":"Provide a copy of the corporate minutes for the applicant entity"},{"id":7,"label":"LLC Operating Agreement Missing","fullText":"Provide a copy of the LLC operating agreement for the applicant entity"},{"id":8,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":9,"label":"Prem Address does not match Lease","fullText":"Premises address does not match the address listed on lease."},{"id":10,"label":"Prem Address does not match bill of sale","fullText":"Premises address does not match the address listed on the bill of sale."},{"id":11,"label":"PremAddress does not match deed","fullText":"Premises address does not match the address listed on the deed."},{"id":12,"label":"Prem address not same on all docs or physical loc. ","fullText":"Premises address must be written the same on all documents and must be the physical location of the premises (not the mailing address)."},{"id":13,"label":"Missing NOA/Attorney/Rep","fullText":"Submit a Notice of Appearance or the attorney or representative."},{"id":14,"label":"Lease Missing","fullText":"Entity owning real property does not match applicant name – A lease between the two parties is required and must be submitted. "},{"id":15,"label":"Lease Term Incorrect","fullText":"The lease must run the full term of the license period (please take processing time into consideration when determining the end date of the lease). Provide either a new lease document or an amendment/rider to the existing one (signed by both landlord and tenant). "},{"id":16,"label":"Landlord Name Missing from Deed","fullText":"Landlord name must be the name shown on the deed."},{"id":17,"label":"Landlord Principals Missing","fullText":"All principals of the landlord entity must be listed."},{"id":18,"label":"Deed Missing","fullText":"To verify ownership, submit a copy of the deed."},{"id":19,"label":"Source of Funds Missing","fullText":"The source of ALL funds (cash and borrowed) must be listed on this form."},{"id":20,"label":"Financial Docs Missing","fullText":"Submit financial documentation proving the availability of the funds listed. You must submit 3 consecutive months-worth of statements from checking or savings accounts showing the availability of the funds at the time they were expended."},{"id":21,"label":"Executed Loan Agreements Missing","fullText":"Submit a copy of all executed loan agreements. "},{"id":22,"label":"500 foot Premises Missing","fullText":"Provide the name and address of all on premises liquor establishments located within 500 feet of your establishment."},{"id":23,"label":"500 Foot Statement Missing","fullText":"Provide a statement addressing why you believe it would be in the public's interest to issue this license."},{"id":24,"label":"Statement of Area Plan Missing","fullText":"Please complete the Statement of Area Plan form"},{"id":25,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":26,"label":"","fullText":"Please list gender on _________'s personal questionnaire."},{"id":27,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":28,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":29,"label":"Amend License history for {}","fullText":"________________ has/had license history with the Authority. Amend question five to reflect all license history."},{"id":30,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":31,"label":"Label all Rooms and Bars","fullText":"Amend the diagram labeling all rooms and bars"},{"id":32,"label":"Include Food Prep Area","fullText":"Amend the diagram to include the food prep area"},{"id":33,"label":"Diagram of Basement Missing","fullText":"Provide a diagram of the basement"},{"id":34,"label":"Block Plot Diagram Missing","fullText":"Provide a block plot diagram"},{"id":35,"label":"Outside Area Diagram Missing","fullText":"Add the outside area to the diagram "},{"id":36,"label":"Interior Color Photos Missing","fullText":"Submit color photos of the interior of the premises including all dining areas, the bar and at least one of the kitchen. Place the serial number on the back of each photo."},{"id":37,"label":"Front Exterior Color Photo Missing","fullText":"Submit one color photo of the front exterior of the premises. Place the serial number on the back of the photo."},{"id":38,"label":"Outside Area Color Photo Missing","fullText":"Submit color photos of any outside area (deck, patio, yard) to be licensed. The photos must show how the area is contained (fencing, shrubbery, roping off). Place the serial number on the back of the photos."},{"id":39,"label":"Applicant Color Photo Missing","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":40,"label":"Photo ID for {} Missing","fullText":"Provide a copy of ____________'s photo identification."},{"id":41,"label":"Menu Missing","fullText":"Submit a copy of the menu."},{"id":42,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":43,"label":"Additional Restroom Required","fullText":"You have listed 1 restroom. The Rules of the State Liquor Authority require 2 separate restrooms for both sexes. Please submit a request to the Authority asking for a waiver of the 2-restroom rule. You must explain why you believe one restroom is sufficient for the operation of your establishment."},{"id":44,"label":"Maximum Occupancy Cert Missing","fullText":"Submit a copy of the maximum occupancy certificate."},{"id":45,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted. "},{"id":46,"label":"Applicant Photo Missing","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":47,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted."},{"id":48,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":49,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":50,"label":"Gender missing on {}'s PQ","fullText":"Please list gender on _________'s personal questionnaire."},{"id":51,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":52,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":53,"label":"Amend License history for {}","fullText":"________________ has/had license history with the Authority. Amend question five to reflect all license history."},{"id":54,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":55,"label":"Current Diagram Missing","fullText":"Provide a current diagram – showing what the premises looks like before the proposed changes to be made."},{"id":56,"label":"Proposed Diagram Missing","fullText":"Provide a proposed diagram – showing what the premises will look like after the changes are complete."},{"id":57,"label":"Block Plot Diagram Missing","fullText":"Provide a block plot diagram."},{"id":58,"label":"Outside Area Diagram Missing","fullText":"Add the outside area to the proposed diagram."},{"id":59,"label":"Building Permit Missing","fullText":"Provide a copy of the building permit."},{"id":60,"label":"Area to be Altered Photos Missing","fullText":"Provide photos of the area to be altered."},{"id":61,"label":"Lease of New Area Missing","fullText":"Provide a copy of the lease for the proposed new area."},{"id":62,"label":"New Premises Establishment Q. Missing","fullText":"Provide a completed establishment questionnaire for the new proposed premises."},{"id":63,"label":"Add Bar Application Missing","fullText":"You are adding a new bar to the premises, please provide an additional bar application along with $__________."},{"id":64,"label":"Proof of Finances Misses","fullText":"Provide proof of finances."},{"id":65,"label":"Part 1 Principals Missing","fullText":"List all current principals in Part 1."},{"id":66,"label":"Part 2 Principals Missing","fullText":"List all proposed (current and new) principals in Part 2."},{"id":67,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":68,"label":"Contract/Bill of Sale for Stocks/Shares Missing","fullText":"Provide a copy of the contract or bill of sale for the stock/shares being sold."},{"id":69,"label":"Gift Letter Missing","fullText":"Provide a gift letter for the stock/shares being gifted."},{"id":70,"label":"Death Certificate Missing","fullText":"Provide a copy of the death certificate."},{"id":71,"label":"Last will and Testament Missing","fullText":"Provide a copy of the Last Will & Testament."},{"id":72,"label":"Letters of Testamony or Administration Missing","fullText":"Provide a copy of any Letters of Testamentary or Letters of Administration."},{"id":73,"label":"Applicant's Statement missing","fullText":"Provide a copy of the applicant's statement completed by all new principals."},{"id":74,"label":"Personal Questionnaire Missing","fullText":"Provide a personal questionnaire for any new individuals."},{"id":75,"label":"Proof of Finances Missing","fullText":"Provide proof of finances."},{"id":76,"label":"Standardized Notice Form Missing","fullText":"Provide a copy of the completed standardized notice form and proof of mailing to the community board."},{"id":77,"label":"Corporate Minutes Missing","fullText":"Provide a copy of the corporate minutes appointing new officers."},{"id":78,"label":"Amended Operating Agreement Missing","fullText":"Provide a copy of the amended operating agreement for the LLC listing all officers."},{"id":79,"label":"Applicant Photo Missing for {}","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":81,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":82,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":83,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":84,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":85,"label":"Amend License history for {}","fullText":"________________ has/had license history with the Authority. Amend question five to reflect all license history."},{"id":86,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":87,"label":"Contract/Bill of Sale for interest sold Missing","fullText":"Provide a copy of the contract or bill of sale for the interest being sold."},{"id":88,"label":"Gift Letter Missing","fullText":"Provide a gift letter for the interest being gifted."},{"id":89,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":90,"label":"Death Certificate Missing","fullText":"Provide a copy of the death certificate."},{"id":91,"label":"Last will and Testament Missing","fullText":"Provide a copy of the Last Will & Testament"},{"id":92,"label":"Letters of Testamony or Administration Missing","fullText":"Provide a copy of any Letters of Testamentary or Letters of Administration"},{"id":93,"label":"Applicant's Statement missing","fullText":"Provide a copy of the applicant's statement completed by each new individual or partner"},{"id":94,"label":"Proof of Finances Missing","fullText":"Provide proof of finances."},{"id":95,"label":"Management Agreement Missing","fullText":"Provide a copy of the management agreement."},{"id":96,"label":"Personal Questionnaire Missing","fullText":"Provide a personal questionnaire for any new individuals."},{"id":97,"label":"911 or Municipality Letter Missing","fullText":"Provide a copy of the 911 or letter from the municipality changing the premises address."},{"id":98,"label":"Bond Rider for Premises Address Missing","fullText":"Provide a copy of the bond rider amending the premises address."},{"id":99,"label":"Amended Certificate of Authority Missing","fullText":"Provide a copy of the amended Certificate of Authority reflecting the new information."},{"id":100,"label":"Marriage Cert Missing","fullText":"Provide a copy of the marriage certificate."},{"id":101,"label":"Divorce Decree Missing","fullText":"Provide a copy of the divorce decree."},{"id":102,"label":"Assumed Name Filing Receipt Missing","fullText":"Provide a copy of the Assumed Name filing receipt from the Secretary of State."},{"id":103,"label":"Corporate Name Filing Receipt Missing","fullText":"Provide a copy of the Amended Corporate Name filing receipt from the Secretary of State."},{"id":104,"label":"Court Authorization Docs Missing","fullText":"Provide a copy of documentation of Court Authorization."},{"id":105,"label":"Business Certificate Missing","fullText":"Provide a copy of the amended or new Business Certificate from the county clerk's office."},{"id":106,"label":"Amended Operating Agreement Missing","fullText":"Provide a copy of the amended operating agreement for the LLC, listing all officers."},{"id":107,"label":"Holding Corp Stipulation Missing","fullText":"Provide a holding corporation stipulation."},{"id":108,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":109,"label":"Bond Rider for New Name Missing","fullText":"Provide a bond rider reflecting the new name."},{"id":110,"label":"Applicant Photo Missing for {}","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":111,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted."},{"id":112,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":113,"label":"Personal Quetionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":115,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":116,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":117,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":118,"label":"Amend License history for {}","fullText":"________________ has/had license history with the Authority. Amend question five to reflect all license history."},{"id":119,"label":"Statement of Changes Missing","fullText":"Provide a statement explaining the changes being requested."},{"id":120,"label":"Method of Operatiom Missing","fullText":"Provide a Method of Operation"},{"id":121,"label":"Standardized Notice Form Missing","fullText":"Provide a standardized notice form and proof of mailing sent to the municipality or community board notifying them of the proposed changes."},{"id":122,"label":"Supporting Municiaplity or CB Letter Missing","fullText":"Provide a letter from the municipality or community board advising that they support the proposed changes."},{"id":123,"label":"Additional Funds Required","fullText":"Additional Funds Required"},{"id":124,"label":"Bond Missing","fullText":"Submit the Bond."},{"id":125,"label":"Bond not Signed","fullText":"Signt the Bond."},{"id":126,"label":"All Approved Principals Missing","fullText":"List all the principals approved to be on the license in the corporate section of the renewal application."},{"id":127,"label":"Standardized Notice Form Missing","fullText":"Submit a copy of the 30 day Standardized Notification form sent to the Community Board."},{"id":128,"label":"Proof of Mailing for Standardized Notice","fullText":"Submit a copy of the proof of mailing for the Standardized Notification form. "},{"id":129,"label":"Provide Assumed Name Certificate for DBA","fullText":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC's dba name."},{"id":130,"label":"Provde Business Cert for DBA","fullText":"Provide a copy of the business certificate from the county clerk for your dba name."},{"id":131,"label":"Provide FEIN","fullText":"Provide your federal tax identification number."},{"id":132,"label":"Provide Certificate of Authority DTF","fullText":"Provide a copy of your Certificate of Authority from the New York State Tax Department."},{"id":133,"label":"Provide Amended Cert of Auth. - Name does not Match","fullText":"Provide an amended Certificate of Authority – the name must match the applicant name exactly."},{"id":134,"label":"Provide Amended Cert of Auth.- Address does not Match","fullText":"Provide an amended Certificate of Authority – the address must match the premises address exactly."},{"id":135,"label":"Provide bond rider amending {}","fullText":"Provide a signed Bond Rider amending _______."},{"id":136,"label":"Provide Worker's Comp and Disablity Names and Policy No. ","fullText":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers."},{"id":137,"label":"Provide Inventory to be Purchased","fullText":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee."},{"id":138,"label":"Provide Newspaper Affidavits","fullText":"Submit a copy of the Newspaper Affidavit(s)."},{"id":139,"label":"Provide your TTB Permit","fullText":"Provide your TTB permit."},{"id":140,"label":"Surrender Current License in Effect","fullText":"Surrender of the current license in effect."},{"id":141,"label":"Edits to Curriculum","fullText":"Make the edits listed below to the curriculum."},{"id":142,"label":"Curriculum too General","fullText":"The submitted Curriculum generally covers the required topics. However, the below changes must be made to ensure that the persons taking the course understand their rights, obligations, and liabilities under New York law."},{"id":143,"label":"Direct Delivery Missing","fullText":"The licensee's and server's responsibility to not sell, deliver or give alcohol to someone under the age of 21 (ABC Law 65)."},{"id":144,"label":"Redelivery Missing","fullText":"The licensee's and server's responsibility when serving more than one drink to an individual to be aware of any redelivery by the legal patron (on-premises only)."},{"id":145,"label":"Reasonable Supervision Missing","fullText":"The licensee's and server's responsibility to reasonably supervise the premises."},{"id":146,"label":"Right to Refuse Missing","fullText":"The licensee's and server's right to refuse to sell, including but not limited to, an underage patron, an intoxicated patron, or a patron without proper identification."},{"id":147,"label":"Burden of Reasonable Reliance Missing","fullText":"The licensee's and server's burden to establish that a delivery of alcohol was made in a reasonable reliance upon written evidence of age."},{"id":148,"label":"Forms of Identification Missing","fullText":"The forms of identification which may be legally accepted as written evidence of age (ABC Law 65-b.2)."},{"id":149,"label":"ID Features Missing","fullText":"Key features of the valid forms of identification and the way false and fraudulent forms of identification may be detected."},{"id":150,"label":"Devices and Manuals Missing","fullText":"Devices and manuals which may be used to aid in the detection of false and fraudulent written evidence of age, and information regarding the way such devises and manuals may be obtained."},{"id":151,"label":"Criminal Penalties Missing","fullText":"The criminal liabilities and penalties for both the individual and the establishment for unlawfully dealing with a child (Penal Law 260.20)."},{"id":152,"label":"Civil Liabilities Missing","fullText":"The civil liabilities, general liabilities, responsibilities and general obligations (General Obligations Law 11-100 and 11-101)."},{"id":153,"label":"Firsthand Accounts Missing","fullText":"Firsthand accounts from the public illustrating the consequences of the failure of licensees and/or servers to operate in a safe, legal and responsible manner. (i.e., MADD, RID, and Shattered Lives)."},{"id":154,"label":"Course Access","fullText":"Provide the New York State Liquor Authority with access to the online course for review."},{"id":155,"label":"Applicant website","fullText":"Remove the following content from the applicants' website:"},{"id":156,"label":"Legal Name Missing","fullText":"Provide the legal name of the applicant."},{"id":157,"label":"Mailing Address","fullText":"Provide the mailing address of the applicant."},{"id":158,"label":"Federal ID Number","fullText":"Provide the federal id number of the applicant."},{"id":159,"label":"Applicant's phone","fullText":"Provide the applicant's contact phone number."},{"id":160,"label":"Applicant's Email","fullText":"Provide the applicant's email address."},{"id":161,"label":"Director's Name","fullText":"Provide the director's name."},{"id":162,"label":"Director's Phone","fullText":"Provide the director's phone number."},{"id":163,"label":"Director's Email","fullText":"Provide the director's email address."},{"id":164,"label":"Program Box","fullText":"Designate the format of the course. The Alcoholic Beverage Control Law states that the course be taught via online, classroom, or distance learning. An ATAP course can be offered in multiple formats."},{"id":165,"label":"Late Renewal","fullText":"Late Renewal"}],"toFields":[{"id":-1,"label":"Applicant Photo Missing","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________.","originalId":46},{"id":-2,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted. ","originalId":45},{"id":-3,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________.","originalId":48},{"id":-4,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________.","originalId":49},{"id":-5,"label":"Gender missing on {}'s PQ","fullText":"Please list gender on _________'s personal questionnaire.","originalId":50},{"id":-6,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years.","originalId":51},{"id":-7,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected.","originalId":52},{"id":-8,"label":"Amend License history for {}","fullText":"________________ has/had license history with the Authority. Amend question five to reflect all license history.","originalId":53},{"id":-9,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities.","originalId":54},{"id":-10,"label":"Additional Funds Required","fullText":"Additional Funds Required","originalId":123},{"id":-11,"label":"Provide Assumed Name Certificate for DBA","fullText":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC's dba name.","originalId":129},{"id":-12,"label":"Provde Business Cert for DBA","fullText":"Provide a copy of the business certificate from the county clerk for your dba name.","originalId":130},{"id":-13,"label":"Provide FEIN","fullText":"Provide your federal tax identification number.","originalId":131},{"id":-14,"label":"Provide Certificate of Authority DTF","fullText":"Provide a copy of your Certificate of Authority from the New York State Tax Department.","originalId":132},{"id":-15,"label":"Provide Amended Cert of Auth. - Name does not Match","fullText":"Provide an amended Certificate of Authority – the name must match the applicant name exactly.","originalId":133},{"id":-16,"label":"Provide Amended Cert of Auth.- Address does not Match","fullText":"Provide an amended Certificate of Authority – the address must match the premises address exactly.","originalId":134},{"id":-17,"label":"Provide bond rider amending {}","fullText":"Provide a signed Bond Rider amending _______.","originalId":135},{"id":-18,"label":"Provide Worker's Comp and Disablity Names and Policy No. ","fullText":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers.","originalId":136},{"id":-19,"label":"Provide Inventory to be Purchased","fullText":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee.","originalId":137},{"id":-20,"label":"Provide Newspaper Affidavits","fullText":"Submit a copy of the Newspaper Affidavit(s).","originalId":138},{"id":-21,"label":"Provide your TTB Permit","fullText":"Provide your TTB permit.","originalId":139},{"id":-22,"label":"Surrender Current License in Effect","fullText":"Surrender of the current license in effect.","originalId":140},{"deficiencyDetailId":4701,"appId":'#(appId)',"deficiencyTypeId":46,"deficiencyType":"ABC Officer","shortDescription":"Applicant Photo Missing","applicationType":"Amendments","description":"Provide a color photo of the applicant (no smaller than passport size) for _______________.","deficiencyDate":"2022-09-22T04:07:05.363","responseDueDate":"2022-10-02T04:07:05.363","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.363","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a color photo of the applicant (no smaller than passport size) for _______________.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4701,"originalId":4701,"label":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"deficiencyDetailId":4702,"appId":'#(appId)',"deficiencyTypeId":47,"deficiencyType":"ABC Officer","shortDescription":"Fingerprints needed for {}","applicationType":"Amendments","description":"______________________ needs to be fingerprinted.","deficiencyDate":"2022-09-22T04:07:05.367","responseDueDate":"2022-10-02T04:07:05.367","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.367","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"______________________ needs to be fingerprinted.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4702,"originalId":4702,"label":"______________________ needs to be fingerprinted."},{"deficiencyDetailId":4703,"appId":'#(appId)',"deficiencyTypeId":48,"deficiencyType":"ABC Officer","shortDescription":"Proof of Citizenship Missing for {}","applicationType":"Amendments","description":"Provide proof of citizenship for _________________.","deficiencyDate":"2022-09-22T04:07:05.373","responseDueDate":"2022-10-02T04:07:05.373","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.373","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide proof of citizenship for _________________.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4703,"originalId":4703,"label":"Provide proof of citizenship for _________________."},{"deficiencyDetailId":4704,"appId":'#(appId)',"deficiencyTypeId":49,"deficiencyType":"ABC Officer","shortDescription":"Personal Questionnaire missing for {}","applicationType":"Amendments","description":"Provide a personal questionnaire for __________________.","deficiencyDate":"2022-09-22T04:07:05.377","responseDueDate":"2022-10-02T04:07:05.377","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.377","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a personal questionnaire for __________________.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4704,"originalId":4704,"label":"Provide a personal questionnaire for __________________."},{"deficiencyDetailId":4705,"appId":'#(appId)',"deficiencyTypeId":50,"deficiencyType":"ABC Officer","shortDescription":"Gender missing on {}'s PQ","applicationType":"Amendments","description":"Please list gender on _________'s personal questionnaire.","deficiencyDate":"2022-09-22T04:07:05.383","responseDueDate":"2022-10-02T04:07:05.383","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.383","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Please list gender on _________'s personal questionnaire.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4705,"originalId":4705,"label":"Please list gender on _________'s personal questionnaire."},{"deficiencyDetailId":4706,"appId":'#(appId)',"deficiencyTypeId":51,"deficiencyType":"ABC Officer","shortDescription":"Residence Address (past) Missing","applicationType":"Amendments","description":"Provide residence addresses for the last 5 consecutive years.","deficiencyDate":"2022-09-22T04:07:05.39","responseDueDate":"2022-10-02T04:07:05.39","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.39","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide residence addresses for the last 5 consecutive years.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4706,"originalId":4706,"label":"Provide residence addresses for the last 5 consecutive years."},{"deficiencyDetailId":4707,"appId":'#(appId)',"deficiencyTypeId":52,"deficiencyType":"ABC Officer","shortDescription":"Employment Info (past) Missing","applicationType":"Amendments","description":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected.","deficiencyDate":"2022-09-22T04:07:05.397","responseDueDate":"2022-10-02T04:07:05.397","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.397","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4707,"originalId":4707,"label":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"deficiencyDetailId":4708,"appId":'#(appId)',"deficiencyTypeId":53,"deficiencyType":"ABC Officer","shortDescription":"Amend License history for {}","applicationType":"Amendments","description":"________________ has/had license history with the Authority. Amend question five to reflect all license history.","deficiencyDate":"2022-09-22T04:07:05.4","responseDueDate":"2022-10-02T04:07:05.4","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.4","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"________________ has/had license history with the Authority. Amend question five to reflect all license history.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4708,"originalId":4708,"label":"________________ has/had license history with the Authority. Amend question five to reflect all license history."},{"deficiencyDetailId":4709,"appId":'#(appId)',"deficiencyTypeId":54,"deficiencyType":"ABC Officer","shortDescription":"Conviction Record found for {}","applicationType":"Amendments","description":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities.","deficiencyDate":"2022-09-22T04:07:05.407","responseDueDate":"2022-10-02T04:07:05.407","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.407","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4709,"originalId":4709,"label":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"deficiencyDetailId":4711,"appId":10376,"deficiencyTypeId":129,"deficiencyType":"All","shortDescription":"Provide Assumed Name Certificate for DBA","applicationType":"All","description":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC's dba name.","deficiencyDate":"2022-09-22T04:07:05.42","responseDueDate":"2022-10-02T04:07:05.42","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.42","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC's dba name.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4711,"originalId":4711,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC's dba name."},{"deficiencyDetailId":4712,"appId":'#(appId)',"deficiencyTypeId":130,"deficiencyType":"All","shortDescription":"Provde Business Cert for DBA","applicationType":"All","description":"Provide a copy of the business certificate from the county clerk for your dba name.","deficiencyDate":"2022-09-22T04:07:05.427","responseDueDate":"2022-10-02T04:07:05.427","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.427","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a copy of the business certificate from the county clerk for your dba name.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4712,"originalId":4712,"label":"Provide a copy of the business certificate from the county clerk for your dba name."},{"deficiencyDetailId":4713,"appId":'#(appId)',"deficiencyTypeId":131,"deficiencyType":"All","shortDescription":"Provide FEIN","applicationType":"All","description":"Provide your federal tax identification number.","deficiencyDate":"2022-09-22T04:07:05.433","responseDueDate":"2022-10-02T04:07:05.433","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.433","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide your federal tax identification number.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4713,"originalId":4713,"label":"Provide your federal tax identification number."},{"deficiencyDetailId":4714,"appId":'#(appId)',"deficiencyTypeId":132,"deficiencyType":"All","shortDescription":"Provide Certificate of Authority DTF","applicationType":"All","description":"Provide a copy of your Certificate of Authority from the New York State Tax Department.","deficiencyDate":"2022-09-22T04:07:05.437","responseDueDate":"2022-10-02T04:07:05.437","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.437","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a copy of your Certificate of Authority from the New York State Tax Department.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4714,"originalId":4714,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department."},{"deficiencyDetailId":4715,"appId":'#(appId)',"deficiencyTypeId":133,"deficiencyType":"All","shortDescription":"Provide Amended Cert of Auth. - Name does not Match","applicationType":"All","description":"Provide an amended Certificate of Authority – the name must match the applicant name exactly.","deficiencyDate":"2022-09-22T04:07:05.447","responseDueDate":"2022-10-02T04:07:05.447","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.447","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide an amended Certificate of Authority – the name must match the applicant name exactly.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4715,"originalId":4715,"label":"Provide an amended Certificate of Authority – the name must match the applicant name exactly."},{"deficiencyDetailId":4716,"appId":'#(appId)',"deficiencyTypeId":134,"deficiencyType":"All","shortDescription":"Provide Amended Cert of Auth.- Address does not Match","applicationType":"All","description":"Provide an amended Certificate of Authority – the address must match the premises address exactly.","deficiencyDate":"2022-09-22T04:07:05.453","responseDueDate":"2022-10-02T04:07:05.453","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.453","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide an amended Certificate of Authority – the address must match the premises address exactly.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4716,"originalId":4716,"label":"Provide an amended Certificate of Authority – the address must match the premises address exactly."},{"deficiencyDetailId":4717,"appId":'#(appId)',"deficiencyTypeId":135,"deficiencyType":"All","shortDescription":"Provide bond rider amending {}","applicationType":"All","description":"Provide a signed Bond Rider amending _______.","deficiencyDate":"2022-09-22T04:07:05.46","responseDueDate":"2022-10-02T04:07:05.46","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.46","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a signed Bond Rider amending _______.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4717,"originalId":4717,"label":"Provide a signed Bond Rider amending _______."},{"deficiencyDetailId":4718,"appId":'#(appId)',"deficiencyTypeId":136,"deficiencyType":"All","shortDescription":"Provide Worker's Comp and Disablity Names and Policy No. ","applicationType":"All","description":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers.","deficiencyDate":"2022-09-22T04:07:05.467","responseDueDate":"2022-10-02T04:07:05.467","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.467","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4718,"originalId":4718,"label":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers."},{"deficiencyDetailId":4719,"appId":'#(appId)',"deficiencyTypeId":137,"deficiencyType":"All","shortDescription":"Provide Inventory to be Purchased","applicationType":"All","description":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee.","deficiencyDate":"2022-09-22T04:07:05.473","responseDueDate":"2022-10-02T04:07:05.473","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.473","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4719,"originalId":4719,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee."},{"deficiencyDetailId":4720,"appId":'#(appId)',"deficiencyTypeId":138,"deficiencyType":"All","shortDescription":"Provide Newspaper Affidavits","applicationType":"All","description":"Submit a copy of the Newspaper Affidavit(s).","deficiencyDate":"2022-09-22T04:07:05.48","responseDueDate":"2022-10-02T04:07:05.48","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.48","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Submit a copy of the Newspaper Affidavit(s).","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4720,"originalId":4720,"label":"Submit a copy of the Newspaper Affidavit(s)."},{"deficiencyDetailId":4721,"appId":'#(appId)',"deficiencyTypeId":139,"deficiencyType":"All","shortDescription":"Provide your TTB Permit","applicationType":"All","description":"Provide your TTB permit.","deficiencyDate":"2022-09-22T04:07:05.487","responseDueDate":"2022-10-02T04:07:05.487","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.487","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide your TTB permit.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4721,"originalId":4721,"label":"Provide your TTB permit."},{"deficiencyDetailId":4722,"appId":'#(appId)',"deficiencyTypeId":140,"deficiencyType":"All","shortDescription":"Surrender Current License in Effect","applicationType":"All","description":"Surrender of the current license in effect.","deficiencyDate":"2022-09-22T04:07:05.493","responseDueDate":"2022-10-02T04:07:05.493","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.493","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Surrender of the current license in effect.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4722,"originalId":4722,"label":"Surrender of the current license in effect."}],"isRewritable":true,"rewriteLabel":"Edit Deficiency:","additionalComments":"","srclabel":"Select Deficiencies","dstlabel":"Add to Notification","additionalLabel":"Add Additional Deficiencies:"}},"mfccFileDataDtos":[],"notificationTypeId":2028,"combinedCraftAndMasterFileGrandTotal":null,"licenseData":{}}
1
1485
When method post
243
20:38:52.711 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner-review/saveDecision
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiNzcxYTVjZjYtMjQ2OS00YzIxLWIxM2UtNjgyNjQ3YzQ4MzU1IiwiZXhwIjoxNjY4NTUzNzAxLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.BAhQV_IefONdYG1QHSY3GJUwvNBg4-XTUfE-MD1BFP4
2 > current-wfroleid: 4
2 > Content-Type: application/json; charset=UTF-8
2 > Content-Length: 54941
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"isFingerPrintsApproved":true,"isFingerPrintsRequired":true,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"appId":14002,"applicationId":"","applicationType":2,"taskId":2059,"application":{"applicationCategory":1,"appId":14002,"applicationId":"RE-22-06381-01","licePermitTypeId":null,"applicationTypeId":2,"formVersionId":1365,"formId":1206,"legalName":"Automation20220922133655Automation","submitDate":"2022-09-22T04:06:59.267","isGISRequired":null,"licenseDescription":"Restaurant-Beer","recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":"New York","priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Additional Info Received","taskId":2059,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":true,"isHighlyDeficient":null,"isAllDeficienciesMet":false,"pastDueDate":"10\/22\/2022 12:00:00 AM","memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":3110,"appId":14002,"examinerId":1069,"name":null,"assignDate":"2022-09-22T04:07:00.5","isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":40,"type":"1","category":"1","product":"Beer","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":40,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"clericalName":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"isFairOrFestival":false,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":"2022-09-22T04:07:04.213"},"newComments":"","defineDeficiencies":{"isHighlyDeficientApplication":null,"isAllDeficienciesMet":false,"isFinalDeficiency":true},"approvedRenewal":{},"hasErrors":[],"emailNotificationModel":{"applicant":{"communicationId":18448,"email":"automation@svam.com","appId":14002,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":""}},"recommendedDecisionId":null,"decisionType":{"name":"No And Define Final Deficiency","value":10,"isChecked":null},"erDeficiencies":{"deficiencies":[],"descriptions":[],"deficienciesList":[],"selectInput":{"fromFields":[{"id":4,"label":"Applicant Name doesnt match Filing Receipt","fullText":"As the applicant is a corporation, LLC or LLP, the applicant name must be the same as the name on the filing receipt."},{"id":5,"label":"Secretary of State filing receipt missing","fullText":"Submit a copy of the Secretary of State filing receipt for the corp\/LLC\/LLP"},{"id":6,"label":"Corporate Minutes Missing","fullText":"Provide a copy of the corporate minutes for the applicant entity"},{"id":7,"label":"LLC Operating Agreement Missing","fullText":"Provide a copy of the LLC operating agreement for the applicant entity"},{"id":8,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":9,"label":"Prem Address does not match Lease","fullText":"Premises address does not match the address listed on lease."},{"id":10,"label":"Prem Address does not match bill of sale","fullText":"Premises address does not match the address listed on the bill of sale."},{"id":11,"label":"PremAddress does not match deed","fullText":"Premises address does not match the address listed on the deed."},{"id":12,"label":"Prem address not same on all docs or physical loc. ","fullText":"Premises address must be written the same on all documents and must be the physical location of the premises (not the mailing address)."},{"id":13,"label":"Missing NOA\/Attorney\/Rep","fullText":"Submit a Notice of Appearance or the attorney or representative."},{"id":14,"label":"Lease Missing","fullText":"Entity owning real property does not match applicant name \u2013 A lease between the two parties is required and must be submitted. "},{"id":15,"label":"Lease Term Incorrect","fullText":"The lease must run the full term of the license period (please take processing time into consideration when determining the end date of the lease). Provide either a new lease document or an amendment\/rider to the existing one (signed by both landlord and tenant). "},{"id":16,"label":"Landlord Name Missing from Deed","fullText":"Landlord name must be the name shown on the deed."},{"id":17,"label":"Landlord Principals Missing","fullText":"All principals of the landlord entity must be listed."},{"id":18,"label":"Deed Missing","fullText":"To verify ownership, submit a copy of the deed."},{"id":19,"label":"Source of Funds Missing","fullText":"The source of ALL funds (cash and borrowed) must be listed on this form."},{"id":20,"label":"Financial Docs Missing","fullText":"Submit financial documentation proving the availability of the funds listed. You must submit 3 consecutive months-worth of statements from checking or savings accounts showing the availability of the funds at the time they were expended."},{"id":21,"label":"Executed Loan Agreements Missing","fullText":"Submit a copy of all executed loan agreements. "},{"id":22,"label":"500 foot Premises Missing","fullText":"Provide the name and address of all on premises liquor establishments located within 500 feet of your establishment."},{"id":23,"label":"500 Foot Statement Missing","fullText":"Provide a statement addressing why you believe it would be in the public's interest to issue this license."},{"id":24,"label":"Statement of Area Plan Missing","fullText":"Please complete the Statement of Area Plan form"},{"id":25,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":26,"label":"","fullText":"Please list gender on _________'s personal questionnaire."},{"id":27,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":28,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":29,"label":"Amend License history for {}","fullText":"________________ has\/had license history with the Authority. Amend question five to reflect all license history."},{"id":30,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":31,"label":"Label all Rooms and Bars","fullText":"Amend the diagram labeling all rooms and bars"},{"id":32,"label":"Include Food Prep Area","fullText":"Amend the diagram to include the food prep area"},{"id":33,"label":"Diagram of Basement Missing","fullText":"Provide a diagram of the basement"},{"id":34,"label":"Block Plot Diagram Missing","fullText":"Provide a block plot diagram"},{"id":35,"label":"Outside Area Diagram Missing","fullText":"Add the outside area to the diagram "},{"id":36,"label":"Interior Color Photos Missing","fullText":"Submit color photos of the interior of the premises including all dining areas, the bar and at least one of the kitchen. Place the serial number on the back of each photo."},{"id":37,"label":"Front Exterior Color Photo Missing","fullText":"Submit one color photo of the front exterior of the premises. Place the serial number on the back of the photo."},{"id":38,"label":"Outside Area Color Photo Missing","fullText":"Submit color photos of any outside area (deck, patio, yard) to be licensed. The photos must show how the area is contained (fencing, shrubbery, roping off). Place the serial number on the back of the photos."},{"id":39,"label":"Applicant Color Photo Missing","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":40,"label":"Photo ID for {} Missing","fullText":"Provide a copy of ____________'s photo identification."},{"id":41,"label":"Menu Missing","fullText":"Submit a copy of the menu."},{"id":42,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":43,"label":"Additional Restroom Required","fullText":"You have listed 1 restroom. The Rules of the State Liquor Authority require 2 separate restrooms for both sexes. Please submit a request to the Authority asking for a waiver of the 2-restroom rule. You must explain why you believe one restroom is sufficient for the operation of your establishment."},{"id":44,"label":"Maximum Occupancy Cert Missing","fullText":"Submit a copy of the maximum occupancy certificate."},{"id":45,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted. "},{"id":46,"label":"Applicant Photo Missing","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":47,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted."},{"id":48,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":49,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":50,"label":"Gender missing on {}'s PQ","fullText":"Please list gender on _________'s personal questionnaire."},{"id":51,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":52,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":53,"label":"Amend License history for {}","fullText":"________________ has\/had license history with the Authority. Amend question five to reflect all license history."},{"id":54,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":55,"label":"Current Diagram Missing","fullText":"Provide a current diagram \u2013 showing what the premises looks like before the proposed changes to be made."},{"id":56,"label":"Proposed Diagram Missing","fullText":"Provide a proposed diagram \u2013 showing what the premises will look like after the changes are complete."},{"id":57,"label":"Block Plot Diagram Missing","fullText":"Provide a block plot diagram."},{"id":58,"label":"Outside Area Diagram Missing","fullText":"Add the outside area to the proposed diagram."},{"id":59,"label":"Building Permit Missing","fullText":"Provide a copy of the building permit."},{"id":60,"label":"Area to be Altered Photos Missing","fullText":"Provide photos of the area to be altered."},{"id":61,"label":"Lease of New Area Missing","fullText":"Provide a copy of the lease for the proposed new area."},{"id":62,"label":"New Premises Establishment Q. Missing","fullText":"Provide a completed establishment questionnaire for the new proposed premises."},{"id":63,"label":"Add Bar Application Missing","fullText":"You are adding a new bar to the premises, please provide an additional bar application along with $__________."},{"id":64,"label":"Proof of Finances Misses","fullText":"Provide proof of finances."},{"id":65,"label":"Part 1 Principals Missing","fullText":"List all current principals in Part 1."},{"id":66,"label":"Part 2 Principals Missing","fullText":"List all proposed (current and new) principals in Part 2."},{"id":67,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":68,"label":"Contract\/Bill of Sale for Stocks\/Shares Missing","fullText":"Provide a copy of the contract or bill of sale for the stock\/shares being sold."},{"id":69,"label":"Gift Letter Missing","fullText":"Provide a gift letter for the stock\/shares being gifted."},{"id":70,"label":"Death Certificate Missing","fullText":"Provide a copy of the death certificate."},{"id":71,"label":"Last will and Testament Missing","fullText":"Provide a copy of the Last Will & Testament."},{"id":72,"label":"Letters of Testamony or Administration Missing","fullText":"Provide a copy of any Letters of Testamentary or Letters of Administration."},{"id":73,"label":"Applicant's Statement missing","fullText":"Provide a copy of the applicant's statement completed by all new principals."},{"id":74,"label":"Personal Questionnaire Missing","fullText":"Provide a personal questionnaire for any new individuals."},{"id":75,"label":"Proof of Finances Missing","fullText":"Provide proof of finances."},{"id":76,"label":"Standardized Notice Form Missing","fullText":"Provide a copy of the completed standardized notice form and proof of mailing to the community board."},{"id":77,"label":"Corporate Minutes Missing","fullText":"Provide a copy of the corporate minutes appointing new officers."},{"id":78,"label":"Amended Operating Agreement Missing","fullText":"Provide a copy of the amended operating agreement for the LLC listing all officers."},{"id":79,"label":"Applicant Photo Missing for {}","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":81,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":82,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":83,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":84,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":85,"label":"Amend License history for {}","fullText":"________________ has\/had license history with the Authority. Amend question five to reflect all license history."},{"id":86,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":87,"label":"Contract\/Bill of Sale for interest sold Missing","fullText":"Provide a copy of the contract or bill of sale for the interest being sold."},{"id":88,"label":"Gift Letter Missing","fullText":"Provide a gift letter for the interest being gifted."},{"id":89,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":90,"label":"Death Certificate Missing","fullText":"Provide a copy of the death certificate."},{"id":91,"label":"Last will and Testament Missing","fullText":"Provide a copy of the Last Will & Testament"},{"id":92,"label":"Letters of Testamony or Administration Missing","fullText":"Provide a copy of any Letters of Testamentary or Letters of Administration"},{"id":93,"label":"Applicant's Statement missing","fullText":"Provide a copy of the applicant's statement completed by each new individual or partner"},{"id":94,"label":"Proof of Finances Missing","fullText":"Provide proof of finances."},{"id":95,"label":"Management Agreement Missing","fullText":"Provide a copy of the management agreement."},{"id":96,"label":"Personal Questionnaire Missing","fullText":"Provide a personal questionnaire for any new individuals."},{"id":97,"label":"911 or Municipality Letter Missing","fullText":"Provide a copy of the 911 or letter from the municipality changing the premises address."},{"id":98,"label":"Bond Rider for Premises Address Missing","fullText":"Provide a copy of the bond rider amending the premises address."},{"id":99,"label":"Amended Certificate of Authority Missing","fullText":"Provide a copy of the amended Certificate of Authority reflecting the new information."},{"id":100,"label":"Marriage Cert Missing","fullText":"Provide a copy of the marriage certificate."},{"id":101,"label":"Divorce Decree Missing","fullText":"Provide a copy of the divorce decree."},{"id":102,"label":"Assumed Name Filing Receipt Missing","fullText":"Provide a copy of the Assumed Name filing receipt from the Secretary of State."},{"id":103,"label":"Corporate Name Filing Receipt Missing","fullText":"Provide a copy of the Amended Corporate Name filing receipt from the Secretary of State."},{"id":104,"label":"Court Authorization Docs Missing","fullText":"Provide a copy of documentation of Court Authorization."},{"id":105,"label":"Business Certificate Missing","fullText":"Provide a copy of the amended or new Business Certificate from the county clerk's office."},{"id":106,"label":"Amended Operating Agreement Missing","fullText":"Provide a copy of the amended operating agreement for the LLC, listing all officers."},{"id":107,"label":"Holding Corp Stipulation Missing","fullText":"Provide a holding corporation stipulation."},{"id":108,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":109,"label":"Bond Rider for New Name Missing","fullText":"Provide a bond rider reflecting the new name."},{"id":110,"label":"Applicant Photo Missing for {}","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":111,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted."},{"id":112,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":113,"label":"Personal Quetionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":115,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":116,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":117,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":118,"label":"Amend License history for {}","fullText":"________________ has\/had license history with the Authority. Amend question five to reflect all license history."},{"id":119,"label":"Statement of Changes Missing","fullText":"Provide a statement explaining the changes being requested."},{"id":120,"label":"Method of Operatiom Missing","fullText":"Provide a Method of Operation"},{"id":121,"label":"Standardized Notice Form Missing","fullText":"Provide a standardized notice form and proof of mailing sent to the municipality or community board notifying them of the proposed changes."},{"id":122,"label":"Supporting Municiaplity or CB Letter Missing","fullText":"Provide a letter from the municipality or community board advising that they support the proposed changes."},{"id":123,"label":"Additional Funds Required","fullText":"Additional Funds Required"},{"id":124,"label":"Bond Missing","fullText":"Submit the Bond."},{"id":125,"label":"Bond not Signed","fullText":"Signt the Bond."},{"id":126,"label":"All Approved Principals Missing","fullText":"List all the principals approved to be on the license in the corporate section of the renewal application."},{"id":127,"label":"Standardized Notice Form Missing","fullText":"Submit a copy of the 30 day Standardized Notification form sent to the Community Board."},{"id":128,"label":"Proof of Mailing for Standardized Notice","fullText":"Submit a copy of the proof of mailing for the Standardized Notification form. "},{"id":129,"label":"Provide Assumed Name Certificate for DBA","fullText":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC's dba name."},{"id":130,"label":"Provde Business Cert for DBA","fullText":"Provide a copy of the business certificate from the county clerk for your dba name."},{"id":131,"label":"Provide FEIN","fullText":"Provide your federal tax identification number."},{"id":132,"label":"Provide Certificate of Authority DTF","fullText":"Provide a copy of your Certificate of Authority from the New York State Tax Department."},{"id":133,"label":"Provide Amended Cert of Auth. - Name does not Match","fullText":"Provide an amended Certificate of Authority \u2013 the name must match the applicant name exactly."},{"id":134,"label":"Provide Amended Cert of Auth.- Address does not Match","fullText":"Provide an amended Certificate of Authority \u2013 the address must match the premises address exactly."},{"id":135,"label":"Provide bond rider amending {}","fullText":"Provide a signed Bond Rider amending _______."},{"id":136,"label":"Provide Worker's Comp and Disablity Names and Policy No. ","fullText":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers."},{"id":137,"label":"Provide Inventory to be Purchased","fullText":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee."},{"id":138,"label":"Provide Newspaper Affidavits","fullText":"Submit a copy of the Newspaper Affidavit(s)."},{"id":139,"label":"Provide your TTB Permit","fullText":"Provide your TTB permit."},{"id":140,"label":"Surrender Current License in Effect","fullText":"Surrender of the current license in effect."},{"id":141,"label":"Edits to Curriculum","fullText":"Make the edits listed below to the curriculum."},{"id":142,"label":"Curriculum too General","fullText":"The submitted Curriculum generally covers the required topics. However, the below changes must be made to ensure that the persons taking the course understand their rights, obligations, and liabilities under New York law."},{"id":143,"label":"Direct Delivery Missing","fullText":"The licensee's and server's responsibility to not sell, deliver or give alcohol to someone under the age of 21 (ABC Law 65)."},{"id":144,"label":"Redelivery Missing","fullText":"The licensee's and server's responsibility when serving more than one drink to an individual to be aware of any redelivery by the legal patron (on-premises only)."},{"id":145,"label":"Reasonable Supervision Missing","fullText":"The licensee's and server's responsibility to reasonably supervise the premises."},{"id":146,"label":"Right to Refuse Missing","fullText":"The licensee's and server's right to refuse to sell, including but not limited to, an underage patron, an intoxicated patron, or a patron without proper identification."},{"id":147,"label":"Burden of Reasonable Reliance Missing","fullText":"The licensee's and server's burden to establish that a delivery of alcohol was made in a reasonable reliance upon written evidence of age."},{"id":148,"label":"Forms of Identification Missing","fullText":"The forms of identification which may be legally accepted as written evidence of age (ABC Law 65-b.2)."},{"id":149,"label":"ID Features Missing","fullText":"Key features of the valid forms of identification and the way false and fraudulent forms of identification may be detected."},{"id":150,"label":"Devices and Manuals Missing","fullText":"Devices and manuals which may be used to aid in the detection of false and fraudulent written evidence of age, and information regarding the way such devises and manuals may be obtained."},{"id":151,"label":"Criminal Penalties Missing","fullText":"The criminal liabilities and penalties for both the individual and the establishment for unlawfully dealing with a child (Penal Law 260.20)."},{"id":152,"label":"Civil Liabilities Missing","fullText":"The civil liabilities, general liabilities, responsibilities and general obligations (General Obligations Law 11-100 and 11-101)."},{"id":153,"label":"Firsthand Accounts Missing","fullText":"Firsthand accounts from the public illustrating the consequences of the failure of licensees and\/or servers to operate in a safe, legal and responsible manner. (i.e., MADD, RID, and Shattered Lives)."},{"id":154,"label":"Course Access","fullText":"Provide the New York State Liquor Authority with access to the online course for review."},{"id":155,"label":"Applicant website","fullText":"Remove the following content from the applicants' website:"},{"id":156,"label":"Legal Name Missing","fullText":"Provide the legal name of the applicant."},{"id":157,"label":"Mailing Address","fullText":"Provide the mailing address of the applicant."},{"id":158,"label":"Federal ID Number","fullText":"Provide the federal id number of the applicant."},{"id":159,"label":"Applicant's phone","fullText":"Provide the applicant's contact phone number."},{"id":160,"label":"Applicant's Email","fullText":"Provide the applicant's email address."},{"id":161,"label":"Director's Name","fullText":"Provide the director's name."},{"id":162,"label":"Director's Phone","fullText":"Provide the director's phone number."},{"id":163,"label":"Director's Email","fullText":"Provide the director's email address."},{"id":164,"label":"Program Box","fullText":"Designate the format of the course. The Alcoholic Beverage Control Law states that the course be taught via online, classroom, or distance learning. An ATAP course can be offered in multiple formats."},{"id":165,"label":"Late Renewal","fullText":"Late Renewal"}],"toFields":[{"id":-1,"label":"Applicant Photo Missing","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________.","originalId":46},{"id":-2,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted. ","originalId":45},{"id":-3,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________.","originalId":48},{"id":-4,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________.","originalId":49},{"id":-5,"label":"Gender missing on {}'s PQ","fullText":"Please list gender on _________'s personal questionnaire.","originalId":50},{"id":-6,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years.","originalId":51},{"id":-7,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected.","originalId":52},{"id":-8,"label":"Amend License history for {}","fullText":"________________ has\/had license history with the Authority. Amend question five to reflect all license history.","originalId":53},{"id":-9,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities.","originalId":54},{"id":-10,"label":"Additional Funds Required","fullText":"Additional Funds Required","originalId":123},{"id":-11,"label":"Provide Assumed Name Certificate for DBA","fullText":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC's dba name.","originalId":129},{"id":-12,"label":"Provde Business Cert for DBA","fullText":"Provide a copy of the business certificate from the county clerk for your dba name.","originalId":130},{"id":-13,"label":"Provide FEIN","fullText":"Provide your federal tax identification number.","originalId":131},{"id":-14,"label":"Provide Certificate of Authority DTF","fullText":"Provide a copy of your Certificate of Authority from the New York State Tax Department.","originalId":132},{"id":-15,"label":"Provide Amended Cert of Auth. - Name does not Match","fullText":"Provide an amended Certificate of Authority \u2013 the name must match the applicant name exactly.","originalId":133},{"id":-16,"label":"Provide Amended Cert of Auth.- Address does not Match","fullText":"Provide an amended Certificate of Authority \u2013 the address must match the premises address exactly.","originalId":134},{"id":-17,"label":"Provide bond rider amending {}","fullText":"Provide a signed Bond Rider amending _______.","originalId":135},{"id":-18,"label":"Provide Worker's Comp and Disablity Names and Policy No. ","fullText":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers.","originalId":136},{"id":-19,"label":"Provide Inventory to be Purchased","fullText":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee.","originalId":137},{"id":-20,"label":"Provide Newspaper Affidavits","fullText":"Submit a copy of the Newspaper Affidavit(s).","originalId":138},{"id":-21,"label":"Provide your TTB Permit","fullText":"Provide your TTB permit.","originalId":139},{"id":-22,"label":"Surrender Current License in Effect","fullText":"Surrender of the current license in effect.","originalId":140},{"deficiencyDetailId":4701,"appId":14002,"deficiencyTypeId":46,"deficiencyType":"ABC Officer","shortDescription":"Applicant Photo Missing","applicationType":"Amendments","description":"Provide a color photo of the applicant (no smaller than passport size) for _______________.","deficiencyDate":"2022-09-22T04:07:05.363","responseDueDate":"2022-10-02T04:07:05.363","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.363","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a color photo of the applicant (no smaller than passport size) for _______________.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4701,"originalId":4701,"label":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"deficiencyDetailId":4702,"appId":14002,"deficiencyTypeId":47,"deficiencyType":"ABC Officer","shortDescription":"Fingerprints needed for {}","applicationType":"Amendments","description":"______________________ needs to be fingerprinted.","deficiencyDate":"2022-09-22T04:07:05.367","responseDueDate":"2022-10-02T04:07:05.367","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.367","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"______________________ needs to be fingerprinted.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4702,"originalId":4702,"label":"______________________ needs to be fingerprinted."},{"deficiencyDetailId":4703,"appId":14002,"deficiencyTypeId":48,"deficiencyType":"ABC Officer","shortDescription":"Proof of Citizenship Missing for {}","applicationType":"Amendments","description":"Provide proof of citizenship for _________________.","deficiencyDate":"2022-09-22T04:07:05.373","responseDueDate":"2022-10-02T04:07:05.373","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.373","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide proof of citizenship for _________________.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4703,"originalId":4703,"label":"Provide proof of citizenship for _________________."},{"deficiencyDetailId":4704,"appId":14002,"deficiencyTypeId":49,"deficiencyType":"ABC Officer","shortDescription":"Personal Questionnaire missing for {}","applicationType":"Amendments","description":"Provide a personal questionnaire for __________________.","deficiencyDate":"2022-09-22T04:07:05.377","responseDueDate":"2022-10-02T04:07:05.377","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.377","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a personal questionnaire for __________________.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4704,"originalId":4704,"label":"Provide a personal questionnaire for __________________."},{"deficiencyDetailId":4705,"appId":14002,"deficiencyTypeId":50,"deficiencyType":"ABC Officer","shortDescription":"Gender missing on {}'s PQ","applicationType":"Amendments","description":"Please list gender on _________'s personal questionnaire.","deficiencyDate":"2022-09-22T04:07:05.383","responseDueDate":"2022-10-02T04:07:05.383","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.383","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Please list gender on _________'s personal questionnaire.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4705,"originalId":4705,"label":"Please list gender on _________'s personal questionnaire."},{"deficiencyDetailId":4706,"appId":14002,"deficiencyTypeId":51,"deficiencyType":"ABC Officer","shortDescription":"Residence Address (past) Missing","applicationType":"Amendments","description":"Provide residence addresses for the last 5 consecutive years.","deficiencyDate":"2022-09-22T04:07:05.39","responseDueDate":"2022-10-02T04:07:05.39","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.39","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide residence addresses for the last 5 consecutive years.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4706,"originalId":4706,"label":"Provide residence addresses for the last 5 consecutive years."},{"deficiencyDetailId":4707,"appId":14002,"deficiencyTypeId":52,"deficiencyType":"ABC Officer","shortDescription":"Employment Info (past) Missing","applicationType":"Amendments","description":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected.","deficiencyDate":"2022-09-22T04:07:05.397","responseDueDate":"2022-10-02T04:07:05.397","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.397","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4707,"originalId":4707,"label":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"deficiencyDetailId":4708,"appId":14002,"deficiencyTypeId":53,"deficiencyType":"ABC Officer","shortDescription":"Amend License history for {}","applicationType":"Amendments","description":"________________ has\/had license history with the Authority. Amend question five to reflect all license history.","deficiencyDate":"2022-09-22T04:07:05.4","responseDueDate":"2022-10-02T04:07:05.4","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.4","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"________________ has\/had license history with the Authority. Amend question five to reflect all license history.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4708,"originalId":4708,"label":"________________ has\/had license history with the Authority. Amend question five to reflect all license history."},{"deficiencyDetailId":4709,"appId":14002,"deficiencyTypeId":54,"deficiencyType":"ABC Officer","shortDescription":"Conviction Record found for {}","applicationType":"Amendments","description":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities.","deficiencyDate":"2022-09-22T04:07:05.407","responseDueDate":"2022-10-02T04:07:05.407","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.407","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4709,"originalId":4709,"label":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"deficiencyDetailId":4711,"appId":10376,"deficiencyTypeId":129,"deficiencyType":"All","shortDescription":"Provide Assumed Name Certificate for DBA","applicationType":"All","description":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC's dba name.","deficiencyDate":"2022-09-22T04:07:05.42","responseDueDate":"2022-10-02T04:07:05.42","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.42","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC's dba name.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4711,"originalId":4711,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC's dba name."},{"deficiencyDetailId":4712,"appId":14002,"deficiencyTypeId":130,"deficiencyType":"All","shortDescription":"Provde Business Cert for DBA","applicationType":"All","description":"Provide a copy of the business certificate from the county clerk for your dba name.","deficiencyDate":"2022-09-22T04:07:05.427","responseDueDate":"2022-10-02T04:07:05.427","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.427","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a copy of the business certificate from the county clerk for your dba name.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4712,"originalId":4712,"label":"Provide a copy of the business certificate from the county clerk for your dba name."},{"deficiencyDetailId":4713,"appId":14002,"deficiencyTypeId":131,"deficiencyType":"All","shortDescription":"Provide FEIN","applicationType":"All","description":"Provide your federal tax identification number.","deficiencyDate":"2022-09-22T04:07:05.433","responseDueDate":"2022-10-02T04:07:05.433","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.433","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide your federal tax identification number.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4713,"originalId":4713,"label":"Provide your federal tax identification number."},{"deficiencyDetailId":4714,"appId":14002,"deficiencyTypeId":132,"deficiencyType":"All","shortDescription":"Provide Certificate of Authority DTF","applicationType":"All","description":"Provide a copy of your Certificate of Authority from the New York State Tax Department.","deficiencyDate":"2022-09-22T04:07:05.437","responseDueDate":"2022-10-02T04:07:05.437","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.437","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a copy of your Certificate of Authority from the New York State Tax Department.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4714,"originalId":4714,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department."},{"deficiencyDetailId":4715,"appId":14002,"deficiencyTypeId":133,"deficiencyType":"All","shortDescription":"Provide Amended Cert of Auth. - Name does not Match","applicationType":"All","description":"Provide an amended Certificate of Authority \u2013 the name must match the applicant name exactly.","deficiencyDate":"2022-09-22T04:07:05.447","responseDueDate":"2022-10-02T04:07:05.447","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.447","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide an amended Certificate of Authority \u2013 the name must match the applicant name exactly.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4715,"originalId":4715,"label":"Provide an amended Certificate of Authority \u2013 the name must match the applicant name exactly."},{"deficiencyDetailId":4716,"appId":14002,"deficiencyTypeId":134,"deficiencyType":"All","shortDescription":"Provide Amended Cert of Auth.- Address does not Match","applicationType":"All","description":"Provide an amended Certificate of Authority \u2013 the address must match the premises address exactly.","deficiencyDate":"2022-09-22T04:07:05.453","responseDueDate":"2022-10-02T04:07:05.453","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.453","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide an amended Certificate of Authority \u2013 the address must match the premises address exactly.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4716,"originalId":4716,"label":"Provide an amended Certificate of Authority \u2013 the address must match the premises address exactly."},{"deficiencyDetailId":4717,"appId":14002,"deficiencyTypeId":135,"deficiencyType":"All","shortDescription":"Provide bond rider amending {}","applicationType":"All","description":"Provide a signed Bond Rider amending _______.","deficiencyDate":"2022-09-22T04:07:05.46","responseDueDate":"2022-10-02T04:07:05.46","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.46","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a signed Bond Rider amending _______.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4717,"originalId":4717,"label":"Provide a signed Bond Rider amending _______."},{"deficiencyDetailId":4718,"appId":14002,"deficiencyTypeId":136,"deficiencyType":"All","shortDescription":"Provide Worker's Comp and Disablity Names and Policy No. ","applicationType":"All","description":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers.","deficiencyDate":"2022-09-22T04:07:05.467","responseDueDate":"2022-10-02T04:07:05.467","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.467","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4718,"originalId":4718,"label":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers."},{"deficiencyDetailId":4719,"appId":14002,"deficiencyTypeId":137,"deficiencyType":"All","shortDescription":"Provide Inventory to be Purchased","applicationType":"All","description":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee.","deficiencyDate":"2022-09-22T04:07:05.473","responseDueDate":"2022-10-02T04:07:05.473","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.473","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4719,"originalId":4719,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee."},{"deficiencyDetailId":4720,"appId":14002,"deficiencyTypeId":138,"deficiencyType":"All","shortDescription":"Provide Newspaper Affidavits","applicationType":"All","description":"Submit a copy of the Newspaper Affidavit(s).","deficiencyDate":"2022-09-22T04:07:05.48","responseDueDate":"2022-10-02T04:07:05.48","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.48","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Submit a copy of the Newspaper Affidavit(s).","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4720,"originalId":4720,"label":"Submit a copy of the Newspaper Affidavit(s)."},{"deficiencyDetailId":4721,"appId":14002,"deficiencyTypeId":139,"deficiencyType":"All","shortDescription":"Provide your TTB Permit","applicationType":"All","description":"Provide your TTB permit.","deficiencyDate":"2022-09-22T04:07:05.487","responseDueDate":"2022-10-02T04:07:05.487","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.487","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide your TTB permit.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4721,"originalId":4721,"label":"Provide your TTB permit."},{"deficiencyDetailId":4722,"appId":14002,"deficiencyTypeId":140,"deficiencyType":"All","shortDescription":"Surrender Current License in Effect","applicationType":"All","description":"Surrender of the current license in effect.","deficiencyDate":"2022-09-22T04:07:05.493","responseDueDate":"2022-10-02T04:07:05.493","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.493","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Surrender of the current license in effect.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4722,"originalId":4722,"label":"Surrender of the current license in effect."}],"isRewritable":true,"rewriteLabel":"Edit Deficiency:","additionalComments":"","srclabel":"Select Deficiencies","dstlabel":"Add to Notification","additionalLabel":"Add Additional Deficiencies:"}},"mfccFileDataDtos":[],"notificationTypeId":2028,"combinedCraftAndMasterFileGrandTotal":null,"licenseData":{}}
20:38:52.951 response time in milliseconds: 240
2 < 450
2 < Cache-Control: no-cache
2 < Pragma: no-cache
2 < Transfer-Encoding: chunked
2 < Content-Type: application/json
2 < Expires: -1
2 < Server: Microsoft-IIS/10.0
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:08:52 GMT
{
"statusCode": 450,
"message": "6e98ef02342a : Current task is not valid"
}
1486
Then status 200
1
20:38:52.953 classpath:karate/UseCases/RenewalCommonMethods.feature:1486
Then status 200
status code was: 450, expected: 200, response time in milliseconds: 240, url: https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner-review/saveDecision, response:
{
"statusCode": 450,
"message": "6e98ef02342a : Current task is not valid"
}
classpath:karate/UseCases/RenewalCommonMethods.feature:1486
1487
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
0
381
* def approvedStatus = true
0
383
* call read('RenewalCommonMethods.feature@RenewalChangeDueDateExtension'){}
0
Scenario: [5:391]
TC0003_SLA_REN_Due_date_Extension_disapprove_Respond_Deficiencies_License
ms: 42707
>>
Background:
3
* url BaseURL
0
20:38:52.967 karate.env system property was: svamqa
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def amendmentTypeId = 1
0
8
* callonce read('LoginDetails.feature') { strToken:'#(strToken)'}
23
9
* def getcorporateStructureCodeFunc =
0
function(value){
if (value === 'Individual'){
return 1;
}
else {
return 2;
}
}
20
* def getStatusIndOrgStatus =
0
function(value){
if (value === 'Individual'){
return true;
}
else {
return false;
}
}
31
* def getIndORgCodeFunc =
0
function(value1, value2){
if (value1 == 1 && value2 == 'Individual'){
return 1;
}
else if (value1 == 1 && value2 == 'Sole Propretior'){
return 2;
}
else if (value1 == 2 && value2 == 'Individual'){
return 1;
}
else if (value1 == 2 && value2 == 'Limited Liability Company'){
return 2;
}else if (value1 == 2 && value2 == 'Corporation'){
return 3;
}else if (value1 == 2 && value2 == 'Limited Liability Partnership'){
return 4;
}else if (value1 == 2 && value2 == 'Limited Partnership'){
return 5;
}else if (value1 == 2 && value2 == 'Partnership'){
return 6;
}else if (value1 == 2 && value2 == 'Government'){
return 7;
}else if (value1 == 2 && value2 == 'Sole Propretior'){
return 8;
}else if (value1 == 2 && value2 == 'Trust'){
return 9;
}else if (value1 == 2 && value2 == 'Estate'){
return 10;
}
else {
return 1;
}
}
68
* def getAmendmentTypeIdFunc =
0
function(amendmentType){
if (amendmentType == 'ABC Officer'){
return 1;
}
else if (amendmentType == 'Additional Bar'){
return 2;
}
else if (amendmentType == 'Alteration'){
return 3;
}
else if (amendmentType == 'Alteration with Additional Bar'){
return 3;
}
}
87
* def waitFunc =
0
function(timeinMiliSeconds) {
// load java type into js engine
var Thread = Java.type('java.lang.Thread');
Thread.sleep(timeinMiliSeconds*1000);
}
95
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
106
* def fundDueDateFuncRenewal =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
118
* def getMMMMDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("MMMM dd, yyyy");
var date = new java.util.Date();
return sdf.format(date);
}
128
* def mmmmdate = getMMMMDate()
1
130
* def getMMYYDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("MM/dd/yyyy");
var date = new java.util.Date();
return sdf.format(date);
}
140
* def mmyydate = getMMYYDate()
0
142
* def getFundDueDateMMYYDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("MM/dd/yyyy");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
154
* def mmyydateFundDueDate = getFundDueDateMMYYDate(7)
0
156
* def dateFnc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date( date.getTime() - java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
## ******************** UC_RenewalExaminerReview: Validate TC0003_SLA_REN_Due_date_Extension_disapprove_Respond_Deficiencies_License Scenario Start ***************************##
393
* call read('Uc_RenewalDueDate.feature@SLA_REN_Lic_AssignToExaminer') {}
41957
>>
karate.UseCases.Uc_RenewalDueDate
40098
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def amendmentTypeId = 1
0
8
* callonce read('LoginDetails.feature') { strToken:'#(strToken)'}
24
9
* def getcorporateStructureCodeFunc =
0
function(value){
if (value === 'Individual'){
return 1;
}
else {
return 2;
}
}
20
* def getStatusIndOrgStatus =
0
function(value){
if (value === 'Individual'){
return true;
}
else {
return false;
}
}
31
* def getIndORgCodeFunc =
0
function(value1, value2){
if (value1 == 1 && value2 == 'Individual'){
return 1;
}
else if (value1 == 1 && value2 == 'Sole Propretior'){
return 2;
}
else if (value1 == 2 && value2 == 'Individual'){
return 1;
}
else if (value1 == 2 && value2 == 'Limited Liability Company'){
return 2;
}else if (value1 == 2 && value2 == 'Corporation'){
return 3;
}else if (value1 == 2 && value2 == 'Limited Liability Partnership'){
return 4;
}else if (value1 == 2 && value2 == 'Limited Partnership'){
return 5;
}else if (value1 == 2 && value2 == 'Partnership'){
return 6;
}else if (value1 == 2 && value2 == 'Government'){
return 7;
}else if (value1 == 2 && value2 == 'Sole Propretior'){
return 8;
}else if (value1 == 2 && value2 == 'Trust'){
return 9;
}else if (value1 == 2 && value2 == 'Estate'){
return 10;
}
else {
return 1;
}
}
68
* def getAmendmentTypeIdFunc =
0
function(amendmentType){
if (amendmentType == 'ABC Officer'){
return 1;
}
else if (amendmentType == 'Additional Bar'){
return 2;
}
else if (amendmentType == 'Alteration'){
return 3;
}
else if (amendmentType == 'Alteration with Additional Bar'){
return 3;
}
}
87
* def waitFunc =
0
function(timeinMiliSeconds) {
// load java type into js engine
var Thread = Java.type('java.lang.Thread');
Thread.sleep(timeinMiliSeconds*1000);
}
95
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
106
* def fundDueDateFuncRenewal =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
118
* def getMMMMDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("MMMM dd, yyyy");
var date = new java.util.Date();
return sdf.format(date);
}
128
* def mmmmdate = getMMMMDate()
0
130
* def getMMYYDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("MM/dd/yyyy");
var date = new java.util.Date();
return sdf.format(date);
}
140
* def mmyydate = getMMYYDate()
0
142
* def getFundDueDateMMYYDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("MM/dd/yyyy");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
154
* def mmyydateFundDueDate = getFundDueDateMMYYDate(7)
1
156
* def dateFnc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date( date.getTime() - java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
172
* def IndOrgSelectionDropDown = 'Individual'
0
173
* def indOrgCode = getIndORgCodeFunc(IndOrgSelectionDropDown)
0
174
And print indOrgCode
0
20:38:54.873 [print] 1
175
* def isIndStatus = getStatusIndOrgStatus(IndOrgSelectionDropDown)
0
176
* def CorporateStructureDropDown = 'Individual'
0
177
* def CorporateStructureDropDownCode = getIndORgCodeFunc(indOrgCode,CorporateStructureDropDown)
0
178
And print CorporateStructureDropDownCode
0
20:38:54.874 [print] 1
179
* def firstName = 'Automation'
0
180
* def lastName = 'Automation'
0
181
* def legalName = firstName+ ' '+lastName
0
182
* def Address1 = 'Address1'
0
183
* def Address2 = 'Address2'
0
184
* def CityName = 'New York'
0
185
* def zipCode = '12345'
0
186
* def postalCode = '1234'
0
187
* def countryName = 'United States (US)'
0
188
* def emailId = 'automation@svam.com'
0
189
* def convictedOfCrime = '1'
0
190
* def percentageOfOwners = '20'
0
191
* def isFingerprintRequired = true
0
192
* def isFingerprintsApproved = true
0
193
* def isSignature = true
0
195
* def convictedOfCrime = '1'
0
196
* def PhoneNumber = '999-999-9999'
0
197
* def PhoneExtn = 1234
0
198
* def countryCode = '+91'
0
199
* def stateCode = 40
0
201
* def mainLicensePermitTypeId = 40
0
202
* def termInYears = 3
0
203
* def termDesc = 3+' Year (s)'
0
204
* def licenseFees = 960
0
205
* def fillingFees = 100
0
206
* def licAncillaryFees = 0
0
207
* def renewalFees = 30+''
0
208
* string productName = 'RestaurantBeer'+''
0
210
* def CountyId = 1
0
211
* def CountyName = 'New York'
0
212
* def totalFees = licenseFees+fillingFees+licAncillaryFees
0
213
* def splittedCityName = CityName.replaceAll(" ","")
0
215
* call read('LicensesCommonMethods.feature@IntakeLicensewithoutAssociatedLic') {}
2577
>>
karate.UseCases.LicensesCommonMethods
2029
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* App Intake *********************
290
* call read('LicensesCommonMethods.feature@GetCountyList') {}
1241
>>
karate.UseCases.LicensesCommonMethods
716
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
117
Given path '/internalapi/api/reference'
0
118
* def dbSts = db.cleanHeap()
577
119
And header authorization = 'Bearer ' + strToken
0
120
And header Content-Type = 'application/json;charset=utf-8'
1
121
And header Accept = 'text/plain'
0
# * def query = {name:countyzone&onlyActives:true}
123
And params {name:countyzone,onlyActives:true}
0
#And param onlyActives='true'
125
And request {}
0
126
When method get
136
20:38:56.487 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/reference?name=countyzone&onlyActives=true
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
1 > Content-Type: application/json;charset=utf-8
1 > Accept: text/plain
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:38:56.622 response time in milliseconds: 135
1 < 200
1 < Content-Length: 11712
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:56 GMT
{"values":[{"CountyId":1,"County":"New York","ShortName":"NEW","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T00:00:00","ModifiedBy":"esandoval","ModifiedDate":"2020-11-10T11:30:56.047"},{"CountyId":2,"County":"Kings","ShortName":"KING","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":3,"County":"Bronx","ShortName":"BRON","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":4,"County":"Queens","ShortName":"QUEE","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":5,"County":"Richmond","ShortName":"RICH","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":6,"County":"Nassau","ShortName":"NASS","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":7,"County":"Suffolk","ShortName":"SUFF","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":8,"County":"Westchester","ShortName":"WEST","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":9,"County":"Orange","ShortName":"ORAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":10,"County":"Putnam","ShortName":"PUTN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":11,"County":"Rockland","ShortName":"ROCK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":12,"County":"Albany","ShortName":"ALBA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":13,"County":"Clinton","ShortName":"CLIN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":14,"County":"Columbia","ShortName":"COLU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":15,"County":"Dutchess","ShortName":"DUTC","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":16,"County":"Essex","ShortName":"ESSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":17,"County":"Franklin","ShortName":"FRAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":18,"County":"Fulton","ShortName":"FULT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":19,"County":"Greene","ShortName":"GREE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":20,"County":"Hamilton","ShortName":"HAMI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":21,"County":"Montgomery","ShortName":"MONT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":22,"County":"Rensselaer","ShortName":"RENS","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":23,"County":"Saratoga","ShortName":"SARA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":24,"County":"Schenectady","ShortName":"SCHE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":25,"County":"Schoharie","ShortName":"SCHO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":26,"County":"Sullivan","ShortName":"SULL","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":27,"County":"Ulster","ShortName":"ULST","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":28,"County":"Warren","ShortName":"WARR","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":29,"County":"Washington","ShortName":"WASH","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":30,"County":"Allegany","ShortName":"ALLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":31,"County":"Cattaraugus","ShortName":"CATT","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":32,"County":"Chautauqua","ShortName":"CHAU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":33,"County":"Chemung","ShortName":"CHEM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":34,"County":"Erie","ShortName":"ERIE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":35,"County":"Genesee","ShortName":"GENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":36,"County":"Livingston","ShortName":"LIVI","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":37,"County":"Monroe","ShortName":"MONR","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":38,"County":"Niagara","ShortName":"NIAG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":39,"County":"Ontario","ShortName":"ONTA","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":40,"County":"Orleans","ShortName":"ORLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":41,"County":"Schuyler","ShortName":"SCHU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":42,"County":"Seneca","ShortName":"SENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":43,"County":"Steuben","ShortName":"STEU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":44,"County":"Wayne","ShortName":"WAYN","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":45,"County":"Wyoming","ShortName":"WYOM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":46,"County":"Yates","ShortName":"YATE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":47,"County":"Broome","ShortName":"BROO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":48,"County":"Chenango","ShortName":"CHEN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":49,"County":"Cortland","ShortName":"CORT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":50,"County":"Delaware","ShortName":"DELA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":51,"County":"Herkimer","ShortName":"HERK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":52,"County":"Jefferson","ShortName":"JEFF","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":53,"County":"Lewis","ShortName":"LEWI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":54,"County":"Madison","ShortName":"MADI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":55,"County":"Oneida","ShortName":"ONEI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":56,"County":"Onondaga","ShortName":"ONON","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":57,"County":"Oswego","ShortName":"OSWE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":58,"County":"Otsego","ShortName":"OTSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":59,"County":"St. Lawrence","ShortName":"ST L","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":60,"County":"Cayuga","ShortName":"CAYU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":61,"County":"Tioga","ShortName":"TIOG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":62,"County":"Tompkins","ShortName":"TOMP","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.6","ModifiedBy":null,"ModifiedDate":null}],"name":"countyzone","schema":[{"columnName":"CountyId","dataType":"int","maxLenght":null,"isRequired":true},{"columnName":"County","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ShortName","dataType":"nvarchar","maxLenght":10,"isRequired":false},{"columnName":"ZoneNo","dataType":"int","maxLenght":null,"isRequired":false},{"columnName":"IsActive","dataType":"bit","maxLenght":null,"isRequired":false},{"columnName":"CreatedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"CreatedDate","dataType":"datetime","maxLenght":null,"isRequired":false},{"columnName":"ModifiedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ModifiedDate","dataType":"datetime","maxLenght":null,"isRequired":false}]}
127
* configure continueOnStepFailure = true
0
128
Then status 200
0
129
And def values = response.values
0
130
* configure continueOnStepFailure = true
0
291
* def countyData = karate.jsonPath(values, "$[?(@.CountyId == '" + CountyId + "')]")
0
292
* def countyZone = countyData[0].ZoneNo
0
293
And print countyZone
0
20:38:56.638 [print] 1
294
Given path '/internalapi/api/licensing/selectapptype/savenewlicenseapp'
0
295
* def dbSts = db.cleanHeap()
285
296
And header authorization = 'Bearer ' + strToken
0
297
And header Content-Type = 'application/json; charset=utf-8'
0
298
And header Accept = 'application/json; text/plain;*/*'
0
#* def CountysId = <countyIds>
# And print CountysId
#* string CountysName = <countynames>
# And print CountysName
#* def mainLicensePermitTypeId = <LicensePermitTypeId>
# And print mainLicensePermitTypeId
#* string ProductType = <ProductTypes>
#* string LicenseDescription = <LicDescription>
# And print ProductType
309
And request {"mainLicensePermitTypeId":'#(mainLicensePermitTypeId)',"newPermitTypeIds":[],"combinedCraftId":null,"masterFileId":null,"isApplicableForTempPermit":false,"isNotQualified":false,"isChainRestaurant":false,"addBarList":[],"countyId":'#(CountyId)',"isApplicantCurrentLicensed":false,"isExistingManufacturer":false,"selectedLicense":null,"isAssociatedTempPermit":false}
0
311
When method post
138
20:38:56.924 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/selectapptype/savenewlicenseapp
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 327
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"mainLicensePermitTypeId":40,"newPermitTypeIds":[],"combinedCraftId":null,"masterFileId":null,"isApplicableForTempPermit":false,"isNotQualified":false,"isChainRestaurant":false,"addBarList":[],"countyId":1,"isApplicantCurrentLicensed":false,"isExistingManufacturer":false,"selectedLicense":null,"isAssociatedTempPermit":false}
20:38:57.061 response time in milliseconds: 137
1 < 200
1 < Content-Length: 234
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:56 GMT
[{"childAppId":null,"mainApplicationId":"NA-0111-22-119162","childApplicationId":null,"licensePermitTypeId":40,"description":"Restaurant-Beer","parentApplicationId":"NA-0111-22-119162","parentAppId":14003,"appId":14003,"formId":1165}]
312
* configure continueOnStepFailure = true
0
313
Then status 200
0
315
And def ApplicationId = response[0].mainApplicationId
0
316
And print ApplicationId
0
20:38:57.062 [print] NA-0111-22-119162
317
And match ApplicationId contains 'NA-'
0
319
* def currentYear = '-'+getYearFunc()+'-'+countyZone
1
320
And match ApplicationId contains currentYear
0
321
And def description = response[0].description
0
323
And def appId = response[0].appId
0
325
* def formId = response[0].formId
0
326
* def FormVersionId = response[0].FormVersionId
0
328
Given path '/internalapi/api/application/preview/'+appId
0
329
* def dbSts = db.cleanHeap()
212
330
And header authorization = 'Bearer ' + strToken
0
331
And header Content-Type = 'application/json; charset=utf-8'
0
332
And header Accept = 'application/json; text/plain;*/*'
0
333
And configure continueOnStepFailure = true
0
334
And request {}
0
335
When method get
147
20:38:57.276 request:
2 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/14003
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > Content-Length: 2
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{}
20:38:57.422 response time in milliseconds: 146
2 < 200
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:08:56 GMT
2 < Content-Length: 185
{"applicationId":"NA-0111-22-119162","submitDate":null,"licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Draft"},"isLicenseApplication":true,"isPreFilled":false}
336
* configure continueOnStepFailure = true
0
337
Then status 200
0
338
And def licStatus = response.appStatus.statusDescription
0
339
And print licStatus
0
20:38:57.423 [print] Draft
340
And match licStatus == 'Draft'
0
216
* def CountyName = "New York"
0
217
* call read('LicensesCommonMethods.feature@FillAndSaveApplicantInformationPage') {county:'#(CountyName)'}
784
>>
karate.UseCases.LicensesCommonMethods
190
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
700
* def getDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
709
Given path '/internalapi/api/licensing/app/static/applicantinfo/save/'+appId
0
710
And header Content-Type = 'application/json; charset=utf-8'
0
712
* def autoFirstName = firstName + getDate()
0
713
* def legalName = autoFirstName + lastName
0
714
And header Accept = 'application/json; text/plain;*/*'
0
715
And header authorization = 'Bearer ' + strToken
0
716
And request {"businessInfo":{"website":null,"businessEntity":{"individualOrganization":'#(indOrgCode)',"corporateStructure":'#(CorporateStructureDropDownCode)',"firstName":'#(autoFirstName)',"lastName":'#(lastName)',"middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":'#(legalName)',"id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":'#(IndOrgSelectionDropDown)',"corporateStructureText":'#(CorporateStructureDropDown)',"isIndividual":'#(isIndStatus)'},"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"2","phoneTypeText":"Office","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
0
717
When method post
184
20:38:58.035 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/applicantinfo/save/14003
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
1 > Content-Length: 2167
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"businessInfo":{"website":null,"businessEntity":{"individualOrganization":1,"corporateStructure":1,"firstName":"Automation20221115203858","lastName":"Automation","middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":"Automation20221115203858Automation","id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":"Individual","corporateStructureText":"Individual","isIndividual":true},"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"2","phoneTypeText":"Office","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
20:38:58.217 response time in milliseconds: 182
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:58 GMT
1 < Content-Length: 2191
{"businessInfo":{"id":0,"website":null,"isLicensed":false,"isAssociated":false,"businessEntity":{"id":4026,"individualOrganization":"1","corporateStructure":1,"isEmployeeForSoleProprietor":null,"firstName":"Automation20221115203858","lastName":"Automation","middleName":"AutoMidName","ssn":"","fein":"","legalName":"Automation20221115203858Automation","suffix":"1","corporateStructureText":"Individual","individualOrganizationText":"Individual","isIndividual":true},"address":{"addressId":29496,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"US","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25404,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":7882,"phoneType":3,"countryCode":"91","phone":"999-999-9999","phoneExtension":"1234"}]}},"premisesInfo":{"id":13206,"dba":null,"countyId":1,"countyName":"New York","isDbaSearched":null,"isPremisesRequired":true,"licensePermitID":"","address":{"addressId":29497,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"US","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25405,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":7883,"phoneType":2,"countryCode":"+91","phone":"999-999-9999","phoneExtension":"1234"}]}},"applicantDetail":{"id":9798,"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"isPhysicalChange":null,"applicantStatement":{"id":4339,"nameOfApplicant":null,"title":null,"signature":null,"date":null}}}
718
Then status 200
0
218
* call read('LicensesCommonMethods.feature@FillAndSavePrincipalPage') {}
749
>>
karate.UseCases.LicensesCommonMethods
177
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
745
* def getDate1 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
754
Given path '/internalapi/api/licensing/app/static/principal/save/'+appId
0
755
And header Content-Type = 'application/json; charset=utf-8'
0
756
* def prncipalName = firstName + getDate1()
0
757
* def dt = licDate()
0
758
And header Accept = 'application/json; text/plain;*/*'
0
759
And header authorization = 'Bearer ' + strToken
0
760
And request {"entities":[],"principals":[{"principalId":0,"convictedOfCrime":'#(convictedOfCrime)',"percentageOfOwners":'#(percentageOfOwners)',"isFingerprintRequired":'#(isFingerprintRequired)',"isFingerprintsApproved":'#(isFingerprintsApproved)',"title":"15","numberOfShares":"","isSignature":false,"date":'#(dt)',"address":{"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"stateId":'#(stateCode)',"county":'#(CountyName)',"city":"New York","zipCode":'#(zipCode)',"zip4":'#(postalCode)',"country":'#(countryName)',"stateName":'#(CityName)',"countryId":229,"zip":'#(zipCode)'},"person":{"personId":0,"firstName":'#(prncipalName)',"middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":'#(dt)',"age":"","choosedEntity":null,"ssnFormat":"","suffixText":"JR"},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":'#(emailId)',"confirmEmail":'#(emailId)'},"titleText":"Vice President","convictedOfCrimeText":"No","disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
0
# {"entities":[],"principals":[{"principalId":0,"convictedOfCrime":"" ,"percentageOfOwners":"" ,"isFingerprintRequired":true ,"isFingerprintsApproved":true ,"title":"","dcjsFingerPrintStatus":"","numberOfShares":"","isSignature":"","date":"","address":{"addressLine1":"","addressLine2":"","stateId":40,"county":"","city":"","zipCode":"","zip4":"","country":"United States (US)","stateName":"New York","countryId":229,"zip":""},"person":{"personId":0,"firstName":"XA","middleName":"","lastName":"sa","suffix":"","socialSecurityNo":"","birthDate":"","age":"","choosedEntity":null,"ssnFormat":""},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":null,"confirmEmail":null},"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
762
When method post
175
20:38:58.798 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/principal/save/14003
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
1 > Content-Length: 1107
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"entities":[],"principals":[{"principalId":0,"convictedOfCrime":"1","percentageOfOwners":"20","isFingerprintRequired":true,"isFingerprintsApproved":true,"title":"15","numberOfShares":"","isSignature":false,"date":"2022-11-15T20:38:58.797Z","address":{"addressLine1":"Address1","addressLine2":"Address2","stateId":40,"county":"New York","city":"New York","zipCode":"12345","zip4":"1234","country":"United States (US)","stateName":"New York","countryId":229,"zip":"12345"},"person":{"personId":0,"firstName":"Automation20221115203858","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T20:38:58.797Z","age":"","choosedEntity":null,"ssnFormat":"","suffixText":"JR"},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":"automation@svam.com","confirmEmail":"automation@svam.com"},"titleText":"Vice President","convictedOfCrimeText":"No","disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
20:38:58.972 response time in milliseconds: 174
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:58 GMT
1 < Content-Length: 1390
{"entities":[],"principals":[{"principalId":3326,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":true,"isFingerprintsApproved":true,"percentageOfOwners":20.0,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","entities":null,"numberOfShares":"","isSignature":false,"isRemove":false,"date":"2022-11-15T00:00:00","convictedOfCrime":"1","title":"15","isLicensed":false,"isAssociated":false,"person":{"personId":5643,"firstName":"Automation20221115203858","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T00:00:00","serialNo":0,"age":0,"choosedEntity":[]},"address":{"addressId":29498,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25406,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}}]}
763
Then status 200
0
219
* call read('LicensesCommonMethods.feature@FillAndSaveRepresentativePage') {}
719
>>
karate.UseCases.LicensesCommonMethods
152
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Representative *********************
790
Given path '/internalapi/api/licensing/app/static/rep/save/'+appId
0
791
And header authorization = 'Bearer ' + strToken
0
792
And request {"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":'#(CountyName)',"city":'#(CityName)',"zipCode":"10011","country":"United States (US)","stateName":'#(CityName)',"countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
0
793
When method post
150
20:38:59.549 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/rep/save/14003
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 897
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":"New York","city":"New York","zipCode":"10011","country":"United States (US)","stateName":"New York","countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
20:38:59.698 response time in milliseconds: 149
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:59 GMT
1 < Content-Length: 4
true
794
Then status 200
0
795
And def serverResponse = response
0
220
* call read('LicensesCommonMethods.feature@FillAndSaveMethodOfOperationPage') {}
745
>>
karate.UseCases.LicensesCommonMethods
214
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
6389
* def getDate1 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
6398
Given path '/internalapi/api/licensing/app/save'
0
6399
And header Content-Type = 'application/json; charset=utf-8'
0
6400
* def prncipalName = firstName + getDate1()
0
6401
* def dt = licDate()
0
6402
And header Accept = 'application/json; text/plain;*/*'
0
6403
And header authorization = 'Bearer ' + strToken
0
6404
And request {"isApproved":false,"appId":'#(appId)',"formID":1165,"applicationID":"","formName":"","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":1,"formCategory":{},"formCategoryId":1,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and Policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1993,"key":"","label":"Will the business employ a manager?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1994,"key":"","label":"If no, will the principals manage?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1995,"key":"","label":"If Premises is not a caterer establishment, will the premises periodically close to host private events?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1996,"key":"","label":"If Yes, How Frequently?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"Yes","fieldID":1997,"key":"","label":"Will the premises have music?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1998,"key":"","label":"If Live Music, Give Details","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1999,"key":"","label":"Will the premises use the service of an event promoter?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":2000,"key":"","label":"Will the Premises Permit Dancing?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2001,"key":"","label":"Will there be exotic dancing, including but not limited to topless entertainment, pole dancing and or lap dancing?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":2002,"key":"","label":"Will there be topless entertainment?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":16,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2003,"key":"","label":"Will Security Personnel be used at the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":17,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2004,"key":"","label":"How many?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":18,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2005,"key":"","label":"Provide your proprietary security guard employer unique Identification number assigned to the business by the NYS Department of State Division of Licensing Services or the name of the security company through which the security personnel will be hired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":19,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2006,"key":"","label":"Provide a detailed plan of supervision for the premises to be licensed. Clearly describe how you will maintain control and order over the licensed premises. How will you monitor alcohol sales and prevent sales to minors and sales to intoxicated persons? How will you handle unruly patrons, altercations, etc., to prevent the premises from becoming disorderly?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":20,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":2007,"key":"","label":"Are all responses provided in the application consistent with the information provided to the municipality or community board within the standardized notice form for providing thirty day advance notice","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":21,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2008,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":22,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"4","fieldID":2051,"key":"","label":"If Yes, check all that apply","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2052,"key":"","label":"Who will be permitted to dance?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"Method_of_Operation","key":"0","label":"Method Of Operation","order":11,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isStatic":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"parentSection":"","subSections":[],"sectionFieldOrders":[],"address":{"addressLine1":"","addressLine2":"","stateId":null,"county":"","city":"","zipCode":"","zip4":"","country":"United States (US)","stateName":"","countryId":229}}],"formVersionId":1699,"version":25,"licenseDescription":"Restaurant-Beer","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"showAbcOfficer":false,"showCorpChange":false,"showEndorsement":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant_Information","Principal","Representative","Landlord_Identification","Personal_Questionnaire"],"showPQ":true,"showCC":false,"showManuOnPrem":false,"licPermitTypeId":40,"tabVisitied":{"Applicant Information":false,"Principal":false,"Representative":false,"Landlord Identification":false,"Personal Questionnaire":false}}
0
6406
When method post
209
20:39:00.236 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
1 > Content-Length: 12993
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":14003,"formID":1165,"applicationID":"","formName":"","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":1,"formCategory":{},"formCategoryId":1,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and Policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1993,"key":"","label":"Will the business employ a manager?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1994,"key":"","label":"If no, will the principals manage?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1995,"key":"","label":"If Premises is not a caterer establishment, will the premises periodically close to host private events?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1996,"key":"","label":"If Yes, How Frequently?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"Yes","fieldID":1997,"key":"","label":"Will the premises have music?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1998,"key":"","label":"If Live Music, Give Details","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1999,"key":"","label":"Will the premises use the service of an event promoter?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":2000,"key":"","label":"Will the Premises Permit Dancing?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2001,"key":"","label":"Will there be exotic dancing, including but not limited to topless entertainment, pole dancing and or lap dancing?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":2002,"key":"","label":"Will there be topless entertainment?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":16,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2003,"key":"","label":"Will Security Personnel be used at the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":17,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2004,"key":"","label":"How many?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":18,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2005,"key":"","label":"Provide your proprietary security guard employer unique Identification number assigned to the business by the NYS Department of State Division of Licensing Services or the name of the security company through which the security personnel will be hired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":19,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2006,"key":"","label":"Provide a detailed plan of supervision for the premises to be licensed. Clearly describe how you will maintain control and order over the licensed premises. How will you monitor alcohol sales and prevent sales to minors and sales to intoxicated persons? How will you handle unruly patrons, altercations, etc., to prevent the premises from becoming disorderly?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":20,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":2007,"key":"","label":"Are all responses provided in the application consistent with the information provided to the municipality or community board within the standardized notice form for providing thirty day advance notice","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":21,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2008,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":22,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"4","fieldID":2051,"key":"","label":"If Yes, check all that apply","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2052,"key":"","label":"Who will be permitted to dance?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"Method_of_Operation","key":"0","label":"Method Of Operation","order":11,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isStatic":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"parentSection":"","subSections":[],"sectionFieldOrders":[],"address":{"addressLine1":"","addressLine2":"","stateId":null,"county":"","city":"","zipCode":"","zip4":"","country":"United States (US)","stateName":"","countryId":229}}],"formVersionId":1699,"version":25,"licenseDescription":"Restaurant-Beer","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"showAbcOfficer":false,"showCorpChange":false,"showEndorsement":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant_Information","Principal","Representative","Landlord_Identification","Personal_Questionnaire"],"showPQ":true,"showCC":false,"showManuOnPrem":false,"licPermitTypeId":40,"tabVisitied":{"Applicant Information":false,"Principal":false,"Representative":false,"Landlord Identification":false,"Personal Questionnaire":false}}
20:39:00.443 response time in milliseconds: 207
1 < 200
1 < Content-Length: 51
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:08:59 GMT
{"appId":14003,"applicationId":"NA-0111-22-119162"}
6407
Then status 200
0
221
* call read('LicensesCommonMethods.feature@FeesValidation') {amount:'#(totalFees)'}
2600
>>
karate.UseCases.LicensesCommonMethods
2102
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
810
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
820
* def futureDate = futureDateFunc()
1
822
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
832
* def date = getDate2()
0
834
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
835
And header Content-Type = 'application/json; charset=utf-8'
0
836
And header Accept = 'application/json; text/plain;*/*'
0
837
And header authorization = 'Bearer ' + strToken
0
838
And request {}
0
839
When method get
218
20:39:00.941 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/14003
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:39:01.158 response time in milliseconds: 217
1 < 200
1 < Content-Length: 658
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:01 GMT
[{"licenseName":"Restaurant - Beer","applicationId":"NA-0111-22-119162","applicationTypeId":1,"appFeesId":0,"appId":14003,"feesRefId":6039,"initialFees":0.0,"licensingFees":960.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":100.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":false,"isBondRequired":true,"bondFee":1000.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
840
Then status 200
0
841
And def serverResponse = response
0
842
* def licTerm = serverResponse[0].term
0
843
* def licFees = serverResponse[0].licensingFees+''
0
844
* def licTermDesc = serverResponse[0].termDesc
0
845
* def licFeesRefId = serverResponse[0].feesRefId
0
846
* def licAncillaryFees = serverResponse[0].ancillaryFees+''
0
847
* def licfilingFees = serverResponse[0].filingFees+''
0
848
* def licInitialFees = serverResponse[0].initialFees
0
849
* def bndFees = serverResponse[0].bondFee
0
850
* def isBondRequired = serverResponse[0].isBondRequired
0
851
And def totalFees = serverResponse[0].licensingFees+serverResponse[0].filingFees
0
852
And print totalFees
0
20:39:01.160 [print] 1060.0
855
Given path '/internalapi/api/notification/SaveNotification'
0
857
And header Content-Type = 'application/json; charset=utf-8'
0
858
And header Accept = 'application/json; text/plain;*/*'
0
859
And header authorization = 'Bearer ' + strToken
0
860
And request {"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}
0
861
When method post
160
20:39:01.161 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/notification/SaveNotification
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
2 > Content-Length: 2006
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":14003,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14003,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14003,"createdBy":"Tarun Gupta"}
20:39:01.320 response time in milliseconds: 159
2 < 200
2 < Content-Length: 5
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:09:01 GMT
false
862
Then status 200
0
863
And print response
0
20:39:01.320 [print] false
# And header Content-Type = 'application/json; charset=utf-8'
869
Given path 'internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
871
And header Accept = 'application/json; text/plain;*/*'
0
872
And header authorization = 'Bearer ' + strToken
0
874
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(amount)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(licTerm)',"termDesc":'#(licTermDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
875
When method post
209
20:39:01.322 request:
3 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/14003/false
3 > Accept: application/json; text/plain;*/*
3 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
3 > Content-Type: application/json; charset=UTF-8
3 > Content-Length: 5071
3 > Host: slaleapqaapi.svam.com
3 > Connection: Keep-Alive
3 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
3 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":14003,"slaintakeDate":"2022-11-15T20:39:00.941Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T20:39:00.941Z","amount":1060}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-119162","applicationTypeId":1,"appFeesId":0,"appId":14003,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":1060.0,"filingFees":"100","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T20:39:00.939Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":14003,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14003,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14003,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":14003,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14003,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14003,"createdBy":"Tarun Gupta"},"taskId":null}
20:39:01.531 response time in milliseconds: 209
3 < 200
3 < Content-Type: application/json; charset=utf-8
3 < Server: Microsoft-IIS/10.0
3 < Strict-Transport-Security: max-age=2592000
3 < X-Powered-By: ASP.NET
3 < Date: Tue, 15 Nov 2022 15:09:01 GMT
3 < Content-Length: 4
true
876
Then status 200
0
878
Given path 'internalapi/api/licensing/fees/check-payments/get/'+appId
0
879
And header authorization = 'Bearer ' + strToken
0
880
And request {}
0
881
When method get
149
20:39:01.532 request:
4 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/check-payments/get/14003
4 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
4 > Content-Type: application/json; charset=UTF-8
4 > Content-Length: 2
4 > Host: slaleapqaapi.svam.com
4 > Connection: Keep-Alive
4 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
4 > Accept-Encoding: gzip,deflate
{}
20:39:01.680 response time in milliseconds: 148
4 < 200
4 < Content-Type: application/json; charset=utf-8
4 < Server: Microsoft-IIS/10.0
4 < Strict-Transport-Security: max-age=2592000
4 < X-Powered-By: ASP.NET
4 < Date: Tue, 15 Nov 2022 15:09:01 GMT
4 < Content-Length: 441
[{"checkDetailId":2401,"appId":14003,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T00:00:00","slaintakeDate":"2022-11-15T00:00:00","amount":1060.0000,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T10:09:01.54","modifiedBy":null,"modifiedDate":null}]
882
Then status 200
0
883
And def checkDetailId = response[0].checkDetailId
0
884
And print checkDetailId
0
20:39:01.681 [print] 2401
885
* def amount = response[0].amount
0
886
* def underpaidAmount = totalFees-amount
0
888
And print 'underpaidAmount- ',underpaidAmount
0
20:39:01.682 [print] underpaidAmount- 0.0
890
Given path '/internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
891
And header Content-Type = 'application/json; charset=utf-8'
0
892
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
903
* def futureDate = futureDateFunc()
2
904
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
913
* def date = getDate2()
0
915
And header Accept = 'application/json; text/plain;*/*'
0
916
And header authorization = 'Bearer ' + strToken
0
917
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(totalFees)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":'#(licInitialFees)',"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees)',"totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":'#(licAncillaryFees)',"isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
920
When method post
200
20:39:01.686 request:
5 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/14003/false
5 > Content-Type: application/json; charset=utf-8
5 > Accept: application/json; text/plain;*/*
5 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
5 > Content-Length: 5068
5 > Host: slaleapqaapi.svam.com
5 > Connection: Keep-Alive
5 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
5 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":14003,"slaintakeDate":"2022-11-15T20:39:01.684Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T20:39:01.684Z","amount":1060.0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-119162","applicationTypeId":1,"appFeesId":0,"appId":14003,"feesRefId":6039,"initialFees":0.0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"30","totalFees":1060.0,"filingFees":"100","ancillaryFees":"0","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T20:39:00.939Z","emailNotificationDetail":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":14003,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14003,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14003,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":14003,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14003,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14003,"createdBy":"Tarun Gupta"},"taskId":null}
20:39:01.885 response time in milliseconds: 199
5 < 200
5 < Content-Length: 4
5 < Content-Type: application/json; charset=utf-8
5 < Server: Microsoft-IIS/10.0
5 < Strict-Transport-Security: max-age=2592000
5 < X-Powered-By: ASP.NET
5 < Date: Tue, 15 Nov 2022 15:09:01 GMT
true
921
Then status 200
0
# ********* SAVE Application Details To Save *********************
928
Given path '/internalapi/api/licensing/app/save'
0
929
And header authorization = 'Bearer ' + strToken
0
930
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
931
When method post
394
20:39:01.891 request:
6 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
6 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
6 > Content-Type: application/json; charset=UTF-8
6 > Content-Length: 30721
6 > Host: slaleapqaapi.svam.com
6 > Connection: Keep-Alive
6 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
6 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":14003,"formID":1165,"applicationID":"NA-0111-22-119162","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
20:39:02.281 response time in milliseconds: 390
6 < 200
6 < Content-Type: application/json; charset=utf-8
6 < Server: Microsoft-IIS/10.0
6 < Strict-Transport-Security: max-age=2592000
6 < X-Powered-By: ASP.NET
6 < Date: Tue, 15 Nov 2022 15:09:02 GMT
6 < Content-Length: 51
{"appId":14003,"applicationId":"NA-0111-22-119162"}
932
Then status 200
0
935
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
936
And header authorization = 'Bearer ' + strToken
0
937
And header Content-Type = 'application/json; charset=utf-8'
0
938
And header Accept = 'application/json; text/plain;*/*'
0
939
And request ""
0
940
When method get
285
20:39:02.282 request:
7 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/14003
7 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
7 > Content-Type: application/json; charset=utf-8
7 > Accept: application/json; text/plain;*/*
7 > Content-Length: 0
7 > Host: slaleapqaapi.svam.com
7 > Connection: Keep-Alive
7 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
7 > Accept-Encoding: gzip,deflate
20:39:02.566 response time in milliseconds: 284
7 < 200
7 < Content-Type: application/json; charset=utf-8
7 < Server: Microsoft-IIS/10.0
7 < Strict-Transport-Security: max-age=2592000
7 < X-Powered-By: ASP.NET
7 < Date: Tue, 15 Nov 2022 15:09:02 GMT
7 < Content-Length: 660
[{"licenseName":"Restaurant - Beer","applicationId":"NA-0111-22-119162","applicationTypeId":1,"appFeesId":3134,"appId":14003,"feesRefId":6039,"initialFees":0.0,"licensingFees":960.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":100.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
941
Then status 200
0
942
And print response[0].appFeesId
0
20:39:02.567 [print] 3134
943
And def appFeesId1 = response[0].appFeesId
0
944
And def feesRefId1 = response[0].feesRefId
0
945
And print appFeesId1
0
20:39:02.567 [print] 3134
946
And print feesRefId1
0
20:39:02.567 [print] 6039
947
And def applicationTypeId = response[0].applicationTypeId
0
948
And print applicationTypeId
0
20:39:02.567 [print] 1
# ********* Save PAYMENT *********************
951
Given path '/internalapi/api/licensing/fees/details/save/'+appId +'/false'
0
953
* def slaDate = licFeesDate()
1
954
* def slaaDate = licDate()
0
955
* def licInitialFees1 = licInitialFees+''
0
956
And print licInitialFees1
0
20:39:02.569 [print] 0
957
* def renewalFees1 = renewalFees+''
0
958
And print renewalFees1
0
20:39:02.569 [print] 30
959
* def totalFees1 = totalFees+''
0
961
And print totalFees1
0
20:39:02.569 [print] 1060
962
* def licAncillaryFees1 = licAncillaryFees+''
0
963
* def licfilingFees1 = licfilingFees+''
0
965
And header authorization = 'Bearer ' + strToken
0
966
And request {"checks":[{"checkDetailId":'#(checkDetailId)',"appId":'#(appId)',"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":'#(date)',"slaintakeDate":'#(date)',"amount":'#(amount)',"appliedTo":null,"amountUsed":'#(amount)',"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":'#(date)',"modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":'#(licFeesRefId)',"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees1)',"filingFees":'#(licfilingFees1)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(underpaidAmount)',"amountReceived":'#(amount)',"waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":'#(appId)',"checkDetailId":'#(checkDetailId)',"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":'#(amount)',"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
971
When method post
212
20:39:02.571 request:
8 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/14003/false
8 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
8 > Content-Type: application/json; charset=UTF-8
8 > Content-Length: 5458
8 > Host: slaleapqaapi.svam.com
8 > Connection: Keep-Alive
8 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
8 > Accept-Encoding: gzip,deflate
{"checks":[{"checkDetailId":2401,"appId":14003,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T20:39:01.684Z","slaintakeDate":"2022-11-15T20:39:01.684Z","amount":1060.0,"appliedTo":null,"amountUsed":1060.0,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T20:39:01.684Z","modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-119162","applicationTypeId":1,"appFeesId":6039,"appId":14003,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":"1060","filingFees":"100","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":1060.0,"waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":14003,"checkDetailId":2401,"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":1060.0,"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":"2022-11-22T20:39:00.939Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":14003,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14003,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14003,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":14003,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14003,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14003,"createdBy":"Tarun Gupta"},"taskId":null}
20:39:02.782 response time in milliseconds: 211
8 < 200
8 < Content-Type: application/json; charset=utf-8
8 < Server: Microsoft-IIS/10.0
8 < Strict-Transport-Security: max-age=2592000
8 < X-Powered-By: ASP.NET
8 < Date: Tue, 15 Nov 2022 15:09:02 GMT
8 < Content-Length: 4
true
972
Then status 200
0
973
And print response
0
20:39:02.782 [print] true
# ********* SAVE Application Details To Save *********************
978
Given path '/internalapi/api/licensing/app/save'
0
979
And header authorization = 'Bearer ' + strToken
0
980
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
981
When method post
259
20:39:02.786 request:
9 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
9 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
9 > Content-Type: application/json; charset=UTF-8
9 > Content-Length: 30721
9 > Host: slaleapqaapi.svam.com
9 > Connection: Keep-Alive
9 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
9 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":14003,"formID":1165,"applicationID":"NA-0111-22-119162","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
20:39:03.042 response time in milliseconds: 256
9 < 200
9 < Content-Length: 51
9 < Content-Type: application/json; charset=utf-8
9 < Server: Microsoft-IIS/10.0
9 < Strict-Transport-Security: max-age=2592000
9 < X-Powered-By: ASP.NET
9 < Date: Tue, 15 Nov 2022 15:09:02 GMT
{"appId":14003,"applicationId":"NA-0111-22-119162"}
982
Then status 200
0
983
And def serverResponse = response
0
223
* call read('LicensesCommonMethods.feature@SubmitLicenseAndValidateLicStatus') {expStatus:'Awaiting Review'}
8544
>>
karate.UseCases.LicensesCommonMethods
7756
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
3
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Application SUBMIT *********************
1099
Given path '/internalapi/api/licensing/app/submit'
0
1100
And header authorization = 'Bearer ' + strToken
0
1101
And request {"appId":'#(appId)',"wfType":null}
0
1102
When method post
285
20:39:03.837 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/submit
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 29
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"appId":14003,"wfType":null}
20:39:04.121 response time in milliseconds: 284
1 < 200
1 < Content-Length: 123
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:04 GMT
{"success":true,"submittedApps":[{"success":true,"taskId":0,"appId":14003,"applicationId":"NA-0111-22-119162","error":""}]}
1103
Then status 200
0
1104
And def serverResponse = response
0
1105
And match response.success == true
0
1106
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
7465
>>
karate.UseCases.LicensesCommonMethods
5404
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
5243
1196
And header authorization = 'Bearer ' + strToken
1
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
155
20:39:11.424 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/14003
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:39:11.577 response time in milliseconds: 152
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:11 GMT
1 < Content-Length: 215
{"applicationId":"NA-0111-22-119162","submitDate":"2022-11-15T10:09:04.02","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:39:11.578 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
224
* call read('LicensesCommonMethods.feature@AssignApplicationsToExaminer') {}
3684
>>
karate.UseCases.LicensesCommonMethods
2566
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* AssignApplicationsSaveDigestDataToExaminer *********************
1139
Given path '/internalapi/api/licensing/examiner/assignApplicationsToExaminer'
0
1140
And header authorization = 'Bearer ' + strToken
0
1141
And request [{"appId":'#(appId)',"examinerId":1069,"priority":"Normal"}]
0
1142
When method post
216
20:39:12.709 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner/assignApplicationsToExaminer
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 55
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"appId":14003,"examinerId":1069,"priority":"Normal"}]
20:39:12.924 response time in milliseconds: 215
1 < 200
1 < Content-Length: 5
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:12 GMT
false
1143
And def serverResponse = response
0
1144
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
2347
>>
karate.UseCases.LicensesCommonMethods
484
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
329
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
148
20:39:15.117 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/14003
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:39:15.264 response time in milliseconds: 147
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:15 GMT
1 < Content-Length: 215
{"applicationId":"NA-0111-22-119162","submitDate":"2022-11-15T10:09:04.02","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:39:15.265 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
0
225
* call read('LicensesCommonMethods.feature@ExaminerReviewApprovalToLB') {}
1639
>>
karate.UseCases.LicensesCommonMethods
1138
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Examiner Review Approval to LB *********************
1149
* def summisionDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS");
var date = new java.util.Date();
return sdf.format(date);
}
1157
Given path '/internalapi/api/licensing/examiner-review/SaveNewLicense'
0
1158
* def formatedSumbitDate = summisionDate()
0
1159
And header authorization = 'Bearer ' + strToken
0
1160
And header current-wfroleid = 4
0
1161
And request {"isFingerPrintsApproved":false,"isFingerPrintsRequired":false,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"application":{"applicationCategory":1,"appId":'#(appId)',"applicationId":'#(ApplicationId)',"licePermitTypeId":null,"applicationTypeId":1,"formVersionId":1231,"formId":'#(formId)',"legalName":'#(legalName)',"submitDate":'#(formatedSumbitDate)',"isGISRequired":null,"licenseDescription":'#(description)',"recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":'#(CityName)',"priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Awaiting Review","taskId":1026,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":null,"memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":1069,"appId":'#(appId)',"examinerId":1069,"name":null,"assignDate":'#(formatedSumbitDate)',"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":'#(mainLicensePermitTypeId)',"type":"1","category":"1","product":'#(productName)',"class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":'#(mainLicensePermitTypeId)',"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":'#(formatedSumbitDate)'},"appId":'#(appId)',"notificationTypeId":2028,"applicationType":1,"decisionType":{"name":"Send to Licensing Board","value":2},"emailNotificationModel":{"applicant":{},"attorney":{},"communityBoard":{},"other":{}},"hasErrors":[],"taskId":1026,"newComments":"","recommendedDecisionId":null};
0
1162
When method post
279
20:39:15.778 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner-review/SaveNewLicense
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
1 > current-wfroleid: 4
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 3055
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"isFingerPrintsApproved":false,"isFingerPrintsRequired":false,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"application":{"applicationCategory":1,"appId":14003,"applicationId":"NA-0111-22-119162","licePermitTypeId":null,"applicationTypeId":1,"formVersionId":1231,"formId":1165,"legalName":"Automation20221115203858Automation","submitDate":"2022-11-15T20:39:15.778","isGISRequired":null,"licenseDescription":"Restaurant-Beer","recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":"New York","priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Awaiting Review","taskId":1026,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":null,"memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":1069,"appId":14003,"examinerId":1069,"name":null,"assignDate":"2022-11-15T20:39:15.778","isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":40,"type":"1","category":"1","product":"RestaurantBeer","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":40,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":"2022-11-15T20:39:15.778"},"appId":14003,"notificationTypeId":2028,"applicationType":1,"decisionType":{"name":"Send to Licensing Board","value":2},"emailNotificationModel":{"applicant":{},"attorney":{},"communityBoard":{},"other":{}},"hasErrors":[],"taskId":1026,"newComments":"","recommendedDecisionId":null}
20:39:16.057 response time in milliseconds: 279
1 < 200
1 < Content-Length: 4
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:15 GMT
true
1163
Then status 200
0
1164
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
856
>>
karate.UseCases.LicensesCommonMethods
385
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
206
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
176
20:39:16.733 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/14003
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:39:16.908 response time in milliseconds: 175
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:16 GMT
1 < Content-Length: 215
{"applicationId":"NA-0111-22-119162","submitDate":"2022-11-15T10:09:04.02","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:39:16.908 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
0
226
* call read('LicensesCommonMethods.feature@LBClaimingQueue') {}
1543
>>
karate.UseCases.LicensesCommonMethods
1111
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* LB Claiming Queue *********************
1249
Given path 'internalapi/api/licensing/claiming-queue/add/'+appId +'/1069'
0
1250
And header authorization = 'Bearer ' + strToken
0
1251
And header current-wfroleid = 5
0
1252
And request {}
0
1253
When method post
143
20:39:17.346 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/claiming-queue/add/14003/1069
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
1 > current-wfroleid: 5
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:39:17.489 response time in milliseconds: 143
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:16 GMT
1 < Content-Length: 4
true
1254
Then status 200
0
1255
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
967
>>
karate.UseCases.LicensesCommonMethods
474
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
332
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
138
20:39:18.313 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/14003
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:39:18.451 response time in milliseconds: 138
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:18 GMT
1 < Content-Length: 215
{"applicationId":"NA-0111-22-119162","submitDate":"2022-11-15T10:09:04.02","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:39:18.452 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
0
227
* def expirationDate = fundDueDateFunc(10)
1
228
* call read('LicensesCommonMethods.feature@LBApprovalWithDueDate') {approvalName:'Approved', expStatus:'Approved'}
1754
>>
karate.UseCases.LicensesCommonMethods
1268
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* LB Approval *********************
2346
Given path '/internalapi/api/licensing/search/GetEmailNotificationByAppIdAndNotificationTypeId/'+appId+'/0'
0
2347
And header authorization = 'Bearer ' + strToken
0
2348
And request ''
0
2349
When method get
152
20:39:18.940 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/search/GetEmailNotificationByAppIdAndNotificationTypeId/14003/0
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
1 > Content-Type: text/plain; charset=UTF-8
1 > Content-Length: 0
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
20:39:19.090 response time in milliseconds: 150
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:18 GMT
1 < Content-Length: 1959
{"applicant":{"communicationId":25404,"email":"automation@svam.com","appId":14003,"emailContactTypeId":1,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":25407,"email":"sbandi@svam.com","appId":14003,"emailContactTypeId":2,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}}
2350
Then status 200
0
2351
And def serverResponse = response
0
2352
* def applicantCommId = serverResponse.applicant.communicationId
0
2353
* def attorneyCommId = serverResponse.attorney.communicationId
0
2355
Given path '/internalapi/api/licensing/new-license/saveDecision'
0
2356
And header authorization = 'Bearer ' + strToken
0
2357
And header current-wfroleid = 5
0
2358
* def getSelectedDecisionFunc =
0
function(value1){
if (value1 == 'Approved'){
return 1;
}
else if (value1 == 'Disapproved'){
return 2;
}
else if (value1 == 'Disapproval to Counsel'){
return 3;
}else if (value1 == 'Withdrawal'){
return 4;
}else if (value1 == 'Conditionally Approved'){
return 5;
}else if (value1 == 'FB Decision Required'){
return 6;
}else if (value1 == 'Return to Examiner'){
return 7;
}
else {
return 1;
}
}
2384
* def selectedDecisionCode = getSelectedDecisionFunc(approvalName)
0
2385
And print selectedDecisionCode
0
20:39:19.092 [print] 1
2386
And request {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"masterFileData":[],"combinedCraftData":[],"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":'#(approvalName)',"value":'#(selectedDecisionCode)'},"emailNotificationModel":{"applicant":{},"attorney":{},"other":{"email":""}},"hasErrors":[],"taskId":1151,"newComments":"","approval":{"isDefineStipulations":false,"selectInput":{"fromFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":'#(effectiveDate)',"expirationDate":'#(expirationDate)',"stipulations":[],"descriptions":[]}}
0
2388
When method post
290
20:39:19.093 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/new-license/saveDecision
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
2 > current-wfroleid: 5
2 > Content-Type: application/json; charset=UTF-8
2 > Content-Length: 2479
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"masterFileData":[],"combinedCraftData":[],"appId":14003,"applicationType":1,"applicationId":"NA-0111-22-119162","legalName":"Automation20221115203858Automation","statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{},"attorney":{},"other":{"email":""}},"hasErrors":[],"taskId":1151,"newComments":"","approval":{"isDefineStipulations":false,"selectInput":{"fromFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":"2022-11-15","expirationDate":"2022-11-25T20:39:18.459Z","stipulations":[],"descriptions":[]}}
20:39:19.382 response time in milliseconds: 289
2 < 200
2 < Content-Length: 4
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:09:18 GMT
true
2389
Then status 200
0
2390
And def serverResponse = response
0
2391
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
823
>>
karate.UseCases.LicensesCommonMethods
417
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
250
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
163
20:39:20.030 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/14003
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:39:20.193 response time in milliseconds: 163
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:20 GMT
1 < Content-Length: 208
{"applicationId":"NA-0111-22-119162","submitDate":"2022-11-15T10:09:04.02","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Approved"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:39:20.194 [print] Approved
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
229
* call read('LicensesCommonMethods.feature@ValidateLicenseApplicationStatus') {LicAppStatus:'Approved'}
741
>>
karate.UseCases.LicensesCommonMethods
202
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1326
Given path 'internalapi/api/GenericSearch/SearchLicense'
0
1327
And header Content-Type = 'application/json; charset=utf-8'
0
1328
And header Accept = 'application/json; text/plain;*/*'
0
1329
And header authorization = 'Bearer ' + strToken
0
1330
And params {page:1,pageSize:10}
1
1331
And request [{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":'#(ApplicationId)'}]
0
1332
When method post
198
20:39:20.753 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/GenericSearch/SearchLicense?pageSize=10&page=1
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
1 > Content-Length: 96
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":"NA-0111-22-119162"}]
20:39:20.949 response time in milliseconds: 196
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:20 GMT
1 < Content-Length: 684
{"data":[{"acaId":14003,"acaType":"application","applicationLicenseId":"0111-22-129143","legacySerialNo":null,"legalName":"Automation20221115203858Automation","dba":null,"licenseDescription":"Restaurant-Beer","expirationDate":"2022-11-25T00:00:00","examinerAssigned":"Tarun Gupta","premisesAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","applicantAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","feinSsn":"","formId":1165,"applicationId":"NA-0111-22-119162","licenseId":"0111-22-129143","wfRoleId":2,"applicationStatus":"Approved","licenseStatus":"Active"}],"total":1,"aggregateResults":null,"errors":null}
1333
Then status 200
0
1334
And print response
1
20:39:20.950 [print] {
"data": [
{
"acaId": 14003,
"acaType": "application",
"applicationLicenseId": "0111-22-129143",
"legacySerialNo": null,
"legalName": "Automation20221115203858Automation",
"dba": null,
"licenseDescription": "Restaurant-Beer",
"expirationDate": "2022-11-25T00:00:00",
"examinerAssigned": "Tarun Gupta",
"premisesAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"applicantAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"feinSsn": "",
"formId": 1165,
"applicationId": "NA-0111-22-119162",
"licenseId": "0111-22-129143",
"wfRoleId": 2,
"applicationStatus": "Approved",
"licenseStatus": "Active"
}
],
"total": 1,
"aggregateResults": null,
"errors": null
}
1335
* match response.data[0].applicationStatus == '#(LicAppStatus)'
1
231
* call read('LicensesCommonMethods.feature@GetLicenseId') {}
660
>>
karate.UseCases.LicensesCommonMethods
187
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
3212
Given path '/internalapi/api/licensing/LBDecision/getLicenseByAppId/' + appId +'/-1'
0
3213
And header authorization = 'Bearer ' + strToken
0
3214
* def EffectiveDate = EffDate()
0
3215
And request {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"masterFileData":[],"combinedCraftData":[],"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":null,"statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{},"attorney":{},"other":{"email":""}},"hasErrors":[],"taskId":1151,"newComments":"","approval":{"isDefineStipulations":false,"selectInput":{"fromFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":'#(EffectiveDate)',"expirationDate":'#(expiryDate)',"stipulations":[],"descriptions":[]}}
2
3216
When method get
180
20:39:21.425 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/LBDecision/getLicenseByAppId/14003/-1
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 2436
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"masterFileData":[],"combinedCraftData":[],"appId":14003,"applicationType":1,"applicationId":"NA-0111-22-119162","legalName":null,"statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{},"attorney":{},"other":{"email":""}},"hasErrors":[],"taskId":1151,"newComments":"","approval":{"isDefineStipulations":false,"selectInput":{"fromFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":"2022-11-15","expirationDate":"#(expiryDate)","stipulations":[],"descriptions":[]}}
20:39:21.605 response time in milliseconds: 179
1 < 200
1 < Content-Length: 2853
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:21 GMT
{"license":{"licId":1492,"applicationId":null,"licenseId":"0111-22-129143","licensePermitId":null,"licePermitTypeId":40,"appId":14003,"legacySerialNo":null,"issueDate":null,"expiryDate":"2025-10-31T00:00:00","effectiveDate":"2022-11-15T00:00:00","seasonalStartDate":null,"seasonalEndDate":null,"safeKeepingExpiryDate":null,"status":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"extTempPermitEnabled":false,"application":{"applicationCategory":null,"appId":null,"applicationId":null,"licePermitTypeId":null,"applicationTypeId":null,"formVersionId":null,"formId":null,"legalName":null,"submitDate":null,"isGISRequired":null,"licenseDescription":null,"recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":null,"priority":null,"expirationDate":null,"appStatusId":null,"taskStatus":null,"taskId":null,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":null,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":null,"memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":null,"isNotQualified":null,"eventDate":null,"appStatus":{"appStatusId":0,"statusDescription":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":null,"assignAppToLB":null,"licePermitType":null,"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":0,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"clericalName":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"isFairOrFestival":false,"isShowEffExpDateOnLBReview":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"options":null,"emailNotificationModel":null,"taskOptionsListNested":null,"days":0,"permit":null,"licPermitType":null,"licensePermitMapping":null,"licenseFee":null,"accountBalance":null,"licenseDescription":null,"isSeasonal":false,"isSummerSeasonal":false,"newExpiryDate":null,"amountDue":null,"originalLicenseFee":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"wfRoleId":0},"person":[],"totalRecord":0,"apps":[]}
3217
Then status 200
0
3218
And def serverResponse = response
0
3219
And print serverResponse
1
20:39:21.606 [print] {
"license": {
"licId": 1492,
"applicationId": null,
"licenseId": "0111-22-129143",
"licensePermitId": null,
"licePermitTypeId": 40,
"appId": 14003,
"legacySerialNo": null,
"issueDate": null,
"expiryDate": "2025-10-31T00:00:00",
"effectiveDate": "2022-11-15T00:00:00",
"seasonalStartDate": null,
"seasonalEndDate": null,
"safeKeepingExpiryDate": null,
"status": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null,
"extTempPermitEnabled": false,
"application": {
"applicationCategory": null,
"appId": null,
"applicationId": null,
"licePermitTypeId": null,
"applicationTypeId": null,
"formVersionId": null,
"formId": null,
"legalName": null,
"submitDate": null,
"isGISRequired": null,
"licenseDescription": null,
"recommendedDecisionId": null,
"status500": null,
"isApplicableForPDLetter": false,
"countyName": null,
"priority": null,
"expirationDate": null,
"appStatusId": null,
"taskStatus": null,
"taskId": null,
"currentWfstatus": null,
"communityBoard": null,
"isLicenseApplication": null,
"currentDueDate": null,
"isFinalDeficiency": null,
"isHighlyDeficient": null,
"isAllDeficienciesMet": null,
"pastDueDate": null,
"memo": null,
"isOneTimePermit": null,
"dueDateAction": null,
"isDisapprovedForCause": null,
"isNotQualified": null,
"eventDate": null,
"appStatus": {
"appStatusId": 0,
"statusDescription": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null
},
"applicationType": null,
"assignAppExaminer": null,
"assignAppToLB": null,
"licePermitType": null,
"assoApplicationList": [
],
"isTempPermit": null,
"isTempOrLiq": false,
"licPermitTypeId": 0,
"isAssociatedLicense": null,
"effectiveDate": null,
"assignedUserId": null,
"amendmentTypeId": null,
"amendmentType": null,
"disapprovedDate": null,
"condApprovedDate": null,
"addressId": null,
"isCaseOpen": null,
"isClosed": null,
"isCaseOpenSameAddress": null,
"isSpecialEventPlusFour": null,
"isSpecialEventInsideFiveBoroughs": null,
"licStatus": null,
"createdBy": null,
"clericalName": null,
"licenseId": null,
"address": null,
"isNybeApp": false,
"isHearingCompleted": null,
"does500FtHearingExist": null,
"parentAppStatus": null,
"premisesAppCount": 0,
"statusDescription": null,
"eventAddress": null,
"isFairOrFestival": false,
"isShowEffExpDateOnLBReview": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
"options": null,
"emailNotificationModel": null,
"taskOptionsListNested": null,
"days": 0,
"permit": null,
"licPermitType": null,
"licensePermitMapping": null,
"licenseFee": null,
"accountBalance": null,
"licenseDescription": null,
"isSeasonal": false,
"isSummerSeasonal": false,
"newExpiryDate": null,
"amountDue": null,
"originalLicenseFee": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"wfRoleId": 0
},
"person": [
],
"totalRecord": 0,
"apps": [
]
}
3220
And def licId = serverResponse.license.licId
0
3221
And def licenseId = serverResponse.license.licenseId
0
3222
And def ActEffDate = serverResponse.license.seasonalStartDate
0
3223
And def ActExpDate = serverResponse.license.expiryDate
0
3224
And print serverResponse
1
20:39:21.608 [print] {
"license": {
"licId": 1492,
"applicationId": null,
"licenseId": "0111-22-129143",
"licensePermitId": null,
"licePermitTypeId": 40,
"appId": 14003,
"legacySerialNo": null,
"issueDate": null,
"expiryDate": "2025-10-31T00:00:00",
"effectiveDate": "2022-11-15T00:00:00",
"seasonalStartDate": null,
"seasonalEndDate": null,
"safeKeepingExpiryDate": null,
"status": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null,
"extTempPermitEnabled": false,
"application": {
"applicationCategory": null,
"appId": null,
"applicationId": null,
"licePermitTypeId": null,
"applicationTypeId": null,
"formVersionId": null,
"formId": null,
"legalName": null,
"submitDate": null,
"isGISRequired": null,
"licenseDescription": null,
"recommendedDecisionId": null,
"status500": null,
"isApplicableForPDLetter": false,
"countyName": null,
"priority": null,
"expirationDate": null,
"appStatusId": null,
"taskStatus": null,
"taskId": null,
"currentWfstatus": null,
"communityBoard": null,
"isLicenseApplication": null,
"currentDueDate": null,
"isFinalDeficiency": null,
"isHighlyDeficient": null,
"isAllDeficienciesMet": null,
"pastDueDate": null,
"memo": null,
"isOneTimePermit": null,
"dueDateAction": null,
"isDisapprovedForCause": null,
"isNotQualified": null,
"eventDate": null,
"appStatus": {
"appStatusId": 0,
"statusDescription": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null
},
"applicationType": null,
"assignAppExaminer": null,
"assignAppToLB": null,
"licePermitType": null,
"assoApplicationList": [
],
"isTempPermit": null,
"isTempOrLiq": false,
"licPermitTypeId": 0,
"isAssociatedLicense": null,
"effectiveDate": null,
"assignedUserId": null,
"amendmentTypeId": null,
"amendmentType": null,
"disapprovedDate": null,
"condApprovedDate": null,
"addressId": null,
"isCaseOpen": null,
"isClosed": null,
"isCaseOpenSameAddress": null,
"isSpecialEventPlusFour": null,
"isSpecialEventInsideFiveBoroughs": null,
"licStatus": null,
"createdBy": null,
"clericalName": null,
"licenseId": null,
"address": null,
"isNybeApp": false,
"isHearingCompleted": null,
"does500FtHearingExist": null,
"parentAppStatus": null,
"premisesAppCount": 0,
"statusDescription": null,
"eventAddress": null,
"isFairOrFestival": false,
"isShowEffExpDateOnLBReview": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
"options": null,
"emailNotificationModel": null,
"taskOptionsListNested": null,
"days": 0,
"permit": null,
"licPermitType": null,
"licensePermitMapping": null,
"licenseFee": null,
"accountBalance": null,
"licenseDescription": null,
"isSeasonal": false,
"isSummerSeasonal": false,
"newExpiryDate": null,
"amountDue": null,
"originalLicenseFee": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"wfRoleId": 0
},
"person": [
],
"totalRecord": 0,
"apps": [
]
}
3225
And print 'licId : ' , licId
0
20:39:21.608 [print] licId : 1492
3226
And print 'licenseId : ' , licenseId
0
20:39:21.608 [print] licenseId : 0111-22-129143
3227
And match licId != []
0
3228
And match licenseId != []
0
232
And print licenseId
0
20:39:21.615 [print] 0111-22-129143
233
* def notQualifiedApplication = false
0
234
* def notQlfdAppMessage = ''
0
235
* def LicensePermitId = licenseId
0
236
* call read('RenewalCommonMethods.feature@IntakeRenewalLicense') {}
2866
>>
karate.UseCases.RenewalCommonMethods
2334
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def date = getDate2()
1
17
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
26
* def effectiveDate = effectiveDateFunc()
1
30
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
39
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
50
* def fundDueDate = fundDueDateFunc(7)
2
53
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
64
* def conditionDefinedDateFunction =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.00");
var date = new java.util.Date();
return sdf.format(date);
}
75
* def conditionDefinedDate = conditionDefinedDateFunction()
0
76
* def conditionDefinedDateFunctionwithAddedDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var date = new java.util.Date();
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
88
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
99
* def getRenewalReviewFunc =
0
function(reviewType){
if (reviewType == 'Send to Licensing Board'){
return 2;
}
else if (reviewType == 'Send to Full Board Preview Team'){
return 3;
}
else if (reviewType == 'Define Deficiencies'){
return 1;
}
}
169
Given path '/internalapi/api/licensing/search/searchLicensesAndPermits/'
0
170
And header Content-Type = 'application/json; charset=utf-8'
0
172
And header Accept = 'application/json; text/plain;*/*'
0
173
And header authorization = 'Bearer ' + strToken
0
176
And request {"WfTaskIdList":[],"LicenseStatusList":[19,45,40],"ShowLicensesAndPermits":true,"Status":null,"isTempPermit":null,"ApplicationId":null,"LicensePermitId":'#(licenseId)',"LegalName":null,"FEIN":null,"applyFor":""}
0
177
When method POST
234
20:39:22.145 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/search/searchLicensesAndPermits
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
1 > Content-Length: 213
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"WfTaskIdList":[],"LicenseStatusList":[19,45,40],"ShowLicensesAndPermits":true,"Status":null,"isTempPermit":null,"ApplicationId":null,"LicensePermitId":"0111-22-129143","LegalName":null,"FEIN":null,"applyFor":""}
20:39:22.379 response time in milliseconds: 234
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:21 GMT
1 < Content-Length: 1291
{"licenses":[{"lpId":1492,"licensePermitId":"0111-22-129143","licPermitTypeId":40,"isAccociatedLicense":false,"appId":14003,"mainAppId":14003,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-11-15T00:00:00","expiryDate":"2022-11-25T00:00:00","effectiveDate":"2022-11-15T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-11-15T10:09:19.253","modifiedDate":null,"submitDate":"2022-11-15T10:09:04.02","description":"Restaurant-Beer","county":"New York","legalName":"Automation20221115203858Automation","fein":"","formId":1165,"isRenewalRequird":true,"dba":null,"associatePermits":[],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":null,"county":"New York","zipCode":"12345","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null}],"totalRecord":1}
178
Then status 200
0
179
* def licPermitTypeId = response.licenses[0].licPermitTypeId
0
180
* def lpId = response.licenses[0].lpId
0
181
* def effectiveDate = response.licenses[0].effectiveDate
0
182
* def expiryDate = response.licenses[0].expiryDate
0
183
* def legalName = response.licenses[0].legalName
0
184
* def licAppId = response.licenses[0].appId
0
185
* def submitDate = response.licenses[0].submitDate
0
186
* call read('LicensesCommonMethods.feature@GetCountyList') {}
1725
>>
karate.UseCases.LicensesCommonMethods
494
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
117
Given path '/internalapi/api/reference'
0
118
* def dbSts = db.cleanHeap()
353
119
And header authorization = 'Bearer ' + strToken
0
120
And header Content-Type = 'application/json;charset=utf-8'
0
121
And header Accept = 'text/plain'
0
# * def query = {name:countyzone&onlyActives:true}
123
And params {name:countyzone,onlyActives:true}
0
#And param onlyActives='true'
125
And request {}
0
126
When method get
138
20:39:23.961 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/reference?name=countyzone&onlyActives=true
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
1 > Content-Type: application/json;charset=utf-8
1 > Accept: text/plain
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:39:24.099 response time in milliseconds: 138
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:24 GMT
1 < Content-Length: 11712
{"values":[{"CountyId":1,"County":"New York","ShortName":"NEW","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T00:00:00","ModifiedBy":"esandoval","ModifiedDate":"2020-11-10T11:30:56.047"},{"CountyId":2,"County":"Kings","ShortName":"KING","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":3,"County":"Bronx","ShortName":"BRON","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":4,"County":"Queens","ShortName":"QUEE","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":5,"County":"Richmond","ShortName":"RICH","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":6,"County":"Nassau","ShortName":"NASS","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":7,"County":"Suffolk","ShortName":"SUFF","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":8,"County":"Westchester","ShortName":"WEST","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":9,"County":"Orange","ShortName":"ORAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":10,"County":"Putnam","ShortName":"PUTN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":11,"County":"Rockland","ShortName":"ROCK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":12,"County":"Albany","ShortName":"ALBA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":13,"County":"Clinton","ShortName":"CLIN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":14,"County":"Columbia","ShortName":"COLU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":15,"County":"Dutchess","ShortName":"DUTC","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":16,"County":"Essex","ShortName":"ESSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":17,"County":"Franklin","ShortName":"FRAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":18,"County":"Fulton","ShortName":"FULT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":19,"County":"Greene","ShortName":"GREE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":20,"County":"Hamilton","ShortName":"HAMI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":21,"County":"Montgomery","ShortName":"MONT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":22,"County":"Rensselaer","ShortName":"RENS","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":23,"County":"Saratoga","ShortName":"SARA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":24,"County":"Schenectady","ShortName":"SCHE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":25,"County":"Schoharie","ShortName":"SCHO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":26,"County":"Sullivan","ShortName":"SULL","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":27,"County":"Ulster","ShortName":"ULST","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":28,"County":"Warren","ShortName":"WARR","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":29,"County":"Washington","ShortName":"WASH","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":30,"County":"Allegany","ShortName":"ALLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":31,"County":"Cattaraugus","ShortName":"CATT","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":32,"County":"Chautauqua","ShortName":"CHAU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":33,"County":"Chemung","ShortName":"CHEM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":34,"County":"Erie","ShortName":"ERIE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":35,"County":"Genesee","ShortName":"GENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":36,"County":"Livingston","ShortName":"LIVI","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":37,"County":"Monroe","ShortName":"MONR","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":38,"County":"Niagara","ShortName":"NIAG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":39,"County":"Ontario","ShortName":"ONTA","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":40,"County":"Orleans","ShortName":"ORLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":41,"County":"Schuyler","ShortName":"SCHU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":42,"County":"Seneca","ShortName":"SENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":43,"County":"Steuben","ShortName":"STEU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":44,"County":"Wayne","ShortName":"WAYN","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":45,"County":"Wyoming","ShortName":"WYOM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":46,"County":"Yates","ShortName":"YATE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":47,"County":"Broome","ShortName":"BROO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":48,"County":"Chenango","ShortName":"CHEN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":49,"County":"Cortland","ShortName":"CORT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":50,"County":"Delaware","ShortName":"DELA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":51,"County":"Herkimer","ShortName":"HERK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":52,"County":"Jefferson","ShortName":"JEFF","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":53,"County":"Lewis","ShortName":"LEWI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":54,"County":"Madison","ShortName":"MADI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":55,"County":"Oneida","ShortName":"ONEI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":56,"County":"Onondaga","ShortName":"ONON","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":57,"County":"Oswego","ShortName":"OSWE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":58,"County":"Otsego","ShortName":"OTSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":59,"County":"St. Lawrence","ShortName":"ST L","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":60,"County":"Cayuga","ShortName":"CAYU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":61,"County":"Tioga","ShortName":"TIOG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":62,"County":"Tompkins","ShortName":"TOMP","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.6","ModifiedBy":null,"ModifiedDate":null}],"name":"countyzone","schema":[{"columnName":"CountyId","dataType":"int","maxLenght":null,"isRequired":true},{"columnName":"County","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ShortName","dataType":"nvarchar","maxLenght":10,"isRequired":false},{"columnName":"ZoneNo","dataType":"int","maxLenght":null,"isRequired":false},{"columnName":"IsActive","dataType":"bit","maxLenght":null,"isRequired":false},{"columnName":"CreatedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"CreatedDate","dataType":"datetime","maxLenght":null,"isRequired":false},{"columnName":"ModifiedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ModifiedDate","dataType":"datetime","maxLenght":null,"isRequired":false}]}
127
* configure continueOnStepFailure = true
0
128
Then status 200
0
129
And def values = response.values
0
130
* configure continueOnStepFailure = true
0
187
* def countyData = karate.jsonPath(values, "$[?(@.CountyId == '" + CountyId + "')]")
0
188
* def countyZone = countyData[0].ZoneNo
0
189
And print countyZone
0
20:39:24.104 [print] 1
190
Given path '/internalapi/api/licensing/renewal/save'
0
191
* def dbSts = db.cleanHeap()
202
192
And header authorization = 'Bearer ' + strToken
0
193
And header Content-Type = 'application/json; charset=utf-8'
0
194
And header Accept = 'application/json; text/plain;*/*'
0
195
And configure continueOnStepFailure = true
0
196
And request {"mainLicenseId":'#(licenseId)',"associated":[],"notQualifiedApplication":'#(notQualifiedApplication)',"NotQualifiedComments":'#(notQlfdAppMessage)'}
0
197
When method Post
166
20:39:24.308 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/renewal/save
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > Content-Length: 108
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"mainLicenseId":"0111-22-129143","associated":[],"notQualifiedApplication":false,"NotQualifiedComments":""}
20:39:24.473 response time in milliseconds: 165
2 < 200
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:09:24 GMT
2 < Content-Length: 170
[{"appId":14004,"formId":1167,"childAppId":null,"mainApplicationId":"RE-22-106382-01","childApplicationId":null,"licensePermitTypeId":40,"description":"Restaurant-Beer"}]
198
* configure continueOnStepFailure = true
0
199
Then status 200
0
200
* def description = response[0].description
0
201
* def appId = response[0].appId
0
202
* def formId = response[0].formId
0
203
* def ApplicationId = response[0].mainApplicationId
0
204
And print ApplicationId
0
20:39:24.474 [print] RE-22-106382-01
205
And match ApplicationId contains 'RE-'
0
207
* def currentYear = '-'+getYearFunc()+'-'
1
208
And match ApplicationId contains currentYear
0
237
* call read('LicensesCommonMethods.feature@FillAndSaveApplicantInformationPage') {}
829
>>
karate.UseCases.LicensesCommonMethods
251
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
700
* def getDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
709
Given path '/internalapi/api/licensing/app/static/applicantinfo/save/'+appId
0
710
And header Content-Type = 'application/json; charset=utf-8'
0
712
* def autoFirstName = firstName + getDate()
0
713
* def legalName = autoFirstName + lastName
0
714
And header Accept = 'application/json; text/plain;*/*'
0
715
And header authorization = 'Bearer ' + strToken
0
716
And request {"businessInfo":{"website":null,"businessEntity":{"individualOrganization":'#(indOrgCode)',"corporateStructure":'#(CorporateStructureDropDownCode)',"firstName":'#(autoFirstName)',"lastName":'#(lastName)',"middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":'#(legalName)',"id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":'#(IndOrgSelectionDropDown)',"corporateStructureText":'#(CorporateStructureDropDown)',"isIndividual":'#(isIndStatus)'},"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"2","phoneTypeText":"Office","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
0
717
When method post
247
20:39:25.059 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/applicantinfo/save/14004
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
1 > Content-Length: 2167
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"businessInfo":{"website":null,"businessEntity":{"individualOrganization":1,"corporateStructure":1,"firstName":"Automation20221115203925","lastName":"Automation","middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":"Automation20221115203925Automation","id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":"Individual","corporateStructureText":"Individual","isIndividual":true},"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"2","phoneTypeText":"Office","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
20:39:25.305 response time in milliseconds: 246
1 < 200
1 < Content-Length: 2187
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:25 GMT
{"businessInfo":{"id":0,"website":null,"isLicensed":true,"isAssociated":false,"businessEntity":{"id":0,"individualOrganization":"1","corporateStructure":1,"isEmployeeForSoleProprietor":null,"firstName":"Automation20221115203925","lastName":"Automation","middleName":null,"ssn":"","fein":"","legalName":"Automation20221115203925Automation","suffix":"1","corporateStructureText":"Individual","individualOrganizationText":"Individual","isIndividual":true},"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":0,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":0,"phoneType":3,"countryCode":"+91","phone":"999-999-9999","phoneExtension":"1234"}]}},"premisesInfo":{"id":0,"dba":null,"countyId":0,"countyName":null,"isDbaSearched":null,"isPremisesRequired":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":0,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":0,"phoneType":2,"countryCode":"+91","phone":"999-999-9999","phoneExtension":"1234"}]}},"applicantDetail":{"id":0,"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"isPhysicalChange":null,"applicantStatement":{"id":0,"nameOfApplicant":null,"title":null,"signature":null,"date":null}}}
718
Then status 200
0
239
* call read('RenewalCommonMethods.feature@SaveAssociatedPrincipal') {}
625
>>
karate.UseCases.RenewalCommonMethods
404
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def date = getDate2()
0
17
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
26
* def effectiveDate = effectiveDateFunc()
0
30
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
39
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
50
* def fundDueDate = fundDueDateFunc(7)
1
53
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
64
* def conditionDefinedDateFunction =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.00");
var date = new java.util.Date();
return sdf.format(date);
}
75
* def conditionDefinedDate = conditionDefinedDateFunction()
0
76
* def conditionDefinedDateFunctionwithAddedDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var date = new java.util.Date();
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
88
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
99
* def getRenewalReviewFunc =
0
function(reviewType){
if (reviewType == 'Send to Licensing Board'){
return 2;
}
else if (reviewType == 'Send to Full Board Preview Team'){
return 3;
}
else if (reviewType == 'Define Deficiencies'){
return 1;
}
}
464
Given path '/internalapi/api/licensing/app/static/principal/'+appId
0
466
And header Content-Type = 'application/json; charset=utf-8'
0
467
And header Accept = 'application/json; text/plain;*/*'
0
468
And header authorization = 'Bearer ' + strToken
0
469
And request {}
0
470
When method get
147
20:39:25.529 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/principal/14004
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:39:25.676 response time in milliseconds: 147
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:25 GMT
1 < Content-Length: 1388
{"entities":[],"principals":[{"principalId":3326,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":true,"isFingerprintsApproved":true,"percentageOfOwners":20.0,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","entities":null,"numberOfShares":"","isSignature":false,"isRemove":false,"date":"2022-11-15T00:00:00","convictedOfCrime":"1","title":"15","isLicensed":true,"isAssociated":true,"person":{"personId":5643,"firstName":"Automation20221115203858","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T00:00:00","serialNo":0,"age":0,"choosedEntity":[]},"address":{"addressId":29498,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25406,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}}]}
471
Then status 200
0
472
* def personResponse = response
0
473
* def principalId = personResponse.principals[0].principalId
0
474
* def personId = personResponse.principals[0].person.personId
0
475
* def licFirstName = personResponse.principals[0].person.firstName
0
476
* def licLastName = personResponse.principals[0].person.lastName
0
477
* def licCommID = personResponse.principals[0].communication.id
0
478
* def licEmailID = personResponse.principals[0].communication.email
0
479
* def licAddressId = personResponse.principals[0].address.addressId
0
480
Given path '/internalapi/api/licensing/app/static/principal/save/'+appId
0
482
And header Content-Type = 'application/json; charset=utf-8'
0
483
* def getDate1 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
492
* def prncipalName = 'AutoRenewal'+getDate1()
1
494
And header Accept = 'application/json; text/plain;*/*'
0
495
And header authorization = 'Bearer ' + strToken
0
498
And request {"entities":[],"principals":[{"principalId":'#(principalId)',"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":null,"isFingerprintsApproved":null,"percentageOfOwners":null,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":true,\"isNewPrincipal\":false}","entities":null,"numberOfShares":"","isSignature":null,"isRemove":false,"date":null,"convictedOfCrime":"","title":"","isLicensed":null,"isAssociated":null,"person":{"personId":'#(personId)',"firstName":'#(licFirstName)',"middleName":"","lastName":'#(licLastName)',"suffix":"","socialSecurityNo":"","birthDate":null,"serialNo":0,"age":null,"choosedEntity":null},"address":{"addressId":'#(licAddressId)',"appId":null,"addressLine1":"","addressLine2":"","city":"","stateId":40,"county":"","zipCode":"","zip4":"","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":'#(licCommID)',"email":'#(licEmailID)',"confirmEmail":'#(licEmailID)',"phones":[]}},{"principalId":0,"convictedOfCrime":"","percentageOfOwners":"","isFingerprintRequired":"","isFingerprintsApproved":"","title":"","numberOfShares":"","isSignature":"","date":"","address":{"addressLine1":"Test Address1","addressLine2":"","stateId":40,"county":"New York","city":"New York","zipCode":"12345","zip4":"1234","country":"United States (US)","stateName":"New York","countryId":229,"zip":"12345"},"person":{"personId":0,"firstName":"Automation","middleName":"","lastName":"Renewal LicPermit","suffix":"","socialSecurityNo":"","birthDate":"","age":"","choosedEntity":null,"ssnFormat":""},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":'#(licEmailID)',"confirmEmail":'#(licEmailID)'},"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
0
499
When method post
253
20:39:25.679 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/principal/save/14004
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
2 > Content-Length: 2220
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"entities":[],"principals":[{"principalId":3326,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":null,"isFingerprintsApproved":null,"percentageOfOwners":null,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":true,\"isNewPrincipal\":false}","entities":null,"numberOfShares":"","isSignature":null,"isRemove":false,"date":null,"convictedOfCrime":"","title":"","isLicensed":null,"isAssociated":null,"person":{"personId":5643,"firstName":"Automation20221115203858","middleName":"","lastName":"AutoLastName","suffix":"","socialSecurityNo":"","birthDate":null,"serialNo":0,"age":null,"choosedEntity":null},"address":{"addressId":29498,"appId":null,"addressLine1":"","addressLine2":"","city":"","stateId":40,"county":"","zipCode":"","zip4":"","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25406,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}},{"principalId":0,"convictedOfCrime":"","percentageOfOwners":"","isFingerprintRequired":"","isFingerprintsApproved":"","title":"","numberOfShares":"","isSignature":"","date":"","address":{"addressLine1":"Test Address1","addressLine2":"","stateId":40,"county":"New York","city":"New York","zipCode":"12345","zip4":"1234","country":"United States (US)","stateName":"New York","countryId":229,"zip":"12345"},"person":{"personId":0,"firstName":"Automation","middleName":"","lastName":"Renewal LicPermit","suffix":"","socialSecurityNo":"","birthDate":"","age":"","choosedEntity":null,"ssnFormat":""},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":"automation@svam.com","confirmEmail":"automation@svam.com"},"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
20:39:25.930 response time in milliseconds: 251
2 < 200
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:09:25 GMT
2 < Content-Length: 2326
{"entities":[],"principals":[{"principalId":3326,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":null,"isFingerprintsApproved":null,"percentageOfOwners":null,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":null,"entities":null,"numberOfShares":"","isSignature":null,"isRemove":false,"date":null,"convictedOfCrime":"","title":"","isLicensed":null,"isAssociated":null,"person":{"personId":5643,"firstName":"Automation20221115203858","middleName":"","lastName":"AutoLastName","suffix":"","socialSecurityNo":"","birthDate":null,"serialNo":0,"age":null,"choosedEntity":[]},"address":{"addressId":29498,"appId":null,"addressLine1":"","addressLine2":"","city":"","stateId":40,"county":"","zipCode":"","zip4":"","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25406,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}},{"principalId":3327,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":null,"isFingerprintsApproved":null,"percentageOfOwners":null,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":null,"entities":null,"numberOfShares":"","isSignature":null,"isRemove":false,"date":null,"convictedOfCrime":"","title":"","isLicensed":null,"isAssociated":null,"person":{"personId":0,"firstName":"Automation","middleName":"","lastName":"Renewal LicPermit","suffix":"","socialSecurityNo":"","birthDate":null,"serialNo":0,"age":null,"choosedEntity":[]},"address":{"addressId":0,"appId":null,"addressLine1":"Test Address1","addressLine2":"","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":0,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}}]}
500
Then status 200
0
240
* call read('RenewalCommonMethods.feature@RenewalLicFillingFee') {amount:40000}
1956
>>
karate.UseCases.RenewalCommonMethods
1785
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def date = getDate2()
1
17
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
26
* def effectiveDate = effectiveDateFunc()
0
30
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
39
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
50
* def fundDueDate = fundDueDateFunc(7)
1
53
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
64
* def conditionDefinedDateFunction =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.00");
var date = new java.util.Date();
return sdf.format(date);
}
75
* def conditionDefinedDate = conditionDefinedDateFunction()
0
76
* def conditionDefinedDateFunctionwithAddedDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var date = new java.util.Date();
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
88
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
99
* def getRenewalReviewFunc =
0
function(reviewType){
if (reviewType == 'Send to Licensing Board'){
return 2;
}
else if (reviewType == 'Send to Full Board Preview Team'){
return 3;
}
else if (reviewType == 'Define Deficiencies'){
return 1;
}
}
673
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
674
* def totalFees = licenseFees + fillingFees
0
675
And print totalFees
0
20:39:26.104 [print] 1060.0
676
And header Content-Type = 'application/json; charset=utf-8'
0
677
And header Accept = 'application/json; text/plain;*/*'
0
678
And header authorization = 'Bearer ' + strToken
0
679
And request {}
0
680
When method get
259
20:39:26.106 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/14004
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:39:26.363 response time in milliseconds: 257
1 < 200
1 < Content-Length: 655
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:26 GMT
[{"licenseName":"Restaurant - Beer","applicationId":"RE-22-106382-01","applicationTypeId":2,"appFeesId":0,"appId":14004,"feesRefId":6039,"initialFees":0.0,"licensingFees":960.00,"amendmentFees":0.0,"renewalFees":30.00,"totalFees":0.0,"filingFees":0.0,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":false,"isBondRequired":true,"bondFee":1000.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
681
Then status 200
0
682
And def serverResponse = response
0
683
* def licTerm = serverResponse[0].term
0
684
* def licFees = serverResponse[0].licensingFees+''
0
685
* def licTermDesc = serverResponse[0].termDesc
0
686
* def licFeesRefId = serverResponse[0].feesRefId
0
688
* def licAncillaryFees = serverResponse[0].ancillaryFees+''
0
689
* def licfilingFees = serverResponse[0].filingFees+''
0
690
* def licInitialFees = serverResponse[0].initialFees
0
# And def totalFees = licInitialFees+licfilingFees+licAncillaryFees
#And print totalFees
697
Given path '/internalapi/api/notification/SaveNotification'
0
699
And header Content-Type = 'application/json; charset=utf-8'
0
700
And header Accept = 'application/json; text/plain;*/*'
0
701
And header authorization = 'Bearer ' + strToken
0
702
And request {"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}
0
703
When method post
146
20:39:26.365 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/notification/SaveNotification
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
2 > Content-Length: 2006
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":14004,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14004,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14004,"createdBy":"Tarun Gupta"}
20:39:26.509 response time in milliseconds: 144
2 < 200
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:09:26 GMT
2 < Content-Length: 5
false
704
Then status 200
0
705
And print response
0
20:39:26.509 [print] false
710
Given path 'internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
711
And header Content-Type = 'application/json; charset=utf-8'
0
712
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
726
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
735
* def date = getDate2()
1
736
* def futureDate = futureDateFunc()
2
737
And header Accept = 'application/json; text/plain;*/*'
0
738
And header authorization = 'Bearer ' + strToken
0
740
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":40000}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees1)',"totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":'#(licTerm)',"termDesc":'#(licTermDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-03-31T00:00:00.000Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
741
When method post
202
20:39:26.514 request:
3 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/14004/false
3 > Content-Type: application/json; charset=utf-8
3 > Accept: application/json; text/plain;*/*
3 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
3 > Content-Length: 5063
3 > Host: slaleapqaapi.svam.com
3 > Connection: Keep-Alive
3 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
3 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":14004,"slaintakeDate":"2022-11-15T20:39:26.510Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T20:39:26.510Z","amount":40000}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"RE-22-106382-01","applicationTypeId":1,"appFeesId":0,"appId":14004,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"30","totalFees":1060.0,"filingFees":"0","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-03-31T00:00:00.000Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":14004,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14004,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14004,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":14004,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14004,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14004,"createdBy":"Tarun Gupta"},"taskId":null}
20:39:26.715 response time in milliseconds: 201
3 < 200
3 < Content-Length: 4
3 < Content-Type: application/json; charset=utf-8
3 < Server: Microsoft-IIS/10.0
3 < Strict-Transport-Security: max-age=2592000
3 < X-Powered-By: ASP.NET
3 < Date: Tue, 15 Nov 2022 15:09:26 GMT
true
742
Then status 200
0
744
Given path 'internalapi/api/licensing/fees/check-payments/get/'+appId
0
745
And header authorization = 'Bearer ' + strToken
0
746
And request {}
0
747
When method get
158
20:39:26.716 request:
4 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/check-payments/get/14004
4 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
4 > Content-Type: application/json; charset=UTF-8
4 > Content-Length: 2
4 > Host: slaleapqaapi.svam.com
4 > Connection: Keep-Alive
4 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
4 > Accept-Encoding: gzip,deflate
{}
20:39:26.874 response time in milliseconds: 158
4 < 200
4 < Content-Length: 443
4 < Content-Type: application/json; charset=utf-8
4 < Server: Microsoft-IIS/10.0
4 < Strict-Transport-Security: max-age=2592000
4 < X-Powered-By: ASP.NET
4 < Date: Tue, 15 Nov 2022 15:09:26 GMT
[{"checkDetailId":2402,"appId":14004,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T00:00:00","slaintakeDate":"2022-11-15T00:00:00","amount":40000.0000,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T10:09:26.727","modifiedBy":null,"modifiedDate":null}]
748
Then status 200
0
749
And def checkDetailId = response[0].checkDetailId
0
750
And print checkDetailId
0
20:39:26.875 [print] 2402
752
Given path '/internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
753
And header Content-Type = 'application/json; charset=utf-8'
0
754
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
765
* def futureDate = futureDateFunc()
1
766
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
775
* def date = getDate2()
0
777
And header Accept = 'application/json; text/plain;*/*'
0
778
And header authorization = 'Bearer ' + strToken
0
779
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(totalFees)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":'#(licInitialFees)',"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees1)',"totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":'#(licAncillaryFees)',"isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(futureDate)',"emailNotificationDetail":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
782
When method post
206
20:39:26.878 request:
5 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/14004/false
5 > Content-Type: application/json; charset=utf-8
5 > Accept: application/json; text/plain;*/*
5 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
5 > Content-Length: 5061
5 > Host: slaleapqaapi.svam.com
5 > Connection: Keep-Alive
5 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
5 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":14004,"slaintakeDate":"2022-11-15T20:39:26.877Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T20:39:26.877Z","amount":1060.0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"RE-22-106382-01","applicationTypeId":1,"appFeesId":0,"appId":14004,"feesRefId":6039,"initialFees":0.0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"30","totalFees":1060.0,"filingFees":"0","ancillaryFees":"0","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-12-15T20:39:26.875Z","emailNotificationDetail":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":14004,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14004,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14004,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":14004,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14004,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14004,"createdBy":"Tarun Gupta"},"taskId":null}
20:39:27.082 response time in milliseconds: 204
5 < 200
5 < Content-Length: 4
5 < Content-Type: application/json; charset=utf-8
5 < Server: Microsoft-IIS/10.0
5 < Strict-Transport-Security: max-age=2592000
5 < X-Powered-By: ASP.NET
5 < Date: Tue, 15 Nov 2022 15:09:26 GMT
true
783
Then status 200
0
# ********* SAVE Application Details To Save *********************
787
Given path '/internalapi/api/licensing/app/save'
0
788
And header authorization = 'Bearer ' + strToken
0
789
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":'#(appId)',"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
790
When method post
276
20:39:27.086 request:
6 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
6 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
6 > Content-Type: application/json; charset=UTF-8
6 > Content-Length: 30720
6 > Host: slaleapqaapi.svam.com
6 > Connection: Keep-Alive
6 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
6 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":14004,"formID":1167,"applicationID":"RE-22-106382-01","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":14004,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
20:39:27.360 response time in milliseconds: 274
6 < 200
6 < Content-Length: 49
6 < Content-Type: application/json; charset=utf-8
6 < Server: Microsoft-IIS/10.0
6 < Strict-Transport-Security: max-age=2592000
6 < X-Powered-By: ASP.NET
6 < Date: Tue, 15 Nov 2022 15:09:26 GMT
{"appId":14004,"applicationId":"RE-22-106382-01"}
791
Then status 200
0
# ********* Save PAYMENT *********************
796
Given path '/internalapi/api/licensing/fees/details/save/'+appId +'/false'
0
797
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
808
* def slaDate = licFeesDate()
1
809
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
821
* def slaaDate = licDate()
0
822
* def licInitialFees1 = licInitialFees+''
0
823
And print licInitialFees1
0
20:39:27.362 [print] 0
824
* def renewalFees1 = renewalFees+''
0
825
And print renewalFees1
0
20:39:27.362 [print] 30
826
* def totalFees1 = totalFees+''
0
828
And print totalFees1
0
20:39:27.362 [print] 1060
829
* def licAncillaryFees1 = licAncillaryFees+''
0
830
* def licfilingFees1 = licfilingFees+''
0
832
And header authorization = 'Bearer ' + strToken
0
833
And request {"checks":[{"checkDetailId":'#(checkDetailId)',"appId":'#(appId)',"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":'#(date)',"slaintakeDate":'#(date)',"amount":40000,"appliedTo":null,"amountUsed":40000,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-03-24T09:43:00.873","modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":'#(licFeesRefId)',"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees1)',"totalFees":'#(totalFees1)',"filingFees":'#(licfilingFees1)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":0,"amountReceived":"40000.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":'#(appId)',"checkDetailId":'#(checkDetailId)',"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":"40000.00","amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":"1970-01-01T00:00:00.000Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
# {"checks":[{"checkDetailId":1622,"appId":5856,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T00:00:00.000Z","slaintakeDate":"2022-09-23T00:00:00.000Z","amount":"100.00","isPaymentFailed":false,"appliedTo":null,"amountUsed":100,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-09-23T13:22:04.11","modifiedBy":null,"modifiedDate":null,"applyClick":true},{"checkDetailId":1623,"appId":5856,"paymentSource":"RDC","checkNo":"2","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T00:00:00.000Z","slaintakeDate":"2022-09-23T00:00:00.000Z","amount":"10.00","isPaymentFailed":false,"appliedTo":null,"amountUsed":10,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-09-23T13:22:04.113","modifiedBy":null,"modifiedDate":null,"applyClick":true}],"appFees":{"appFees":[{"licenseName":"Restaurant - Beer","applicationId":"RE-22-106102-01","applicationTypeId":2,"appFeesId":3976,"appId":5856,"feesRefId":6039,"initialFees":0,"licensingFees":"960.00","am "paymentDetails":[{"appPaymentId":2112,"amountAppliedForApp":"100.00","checkDetailId":1622,"appId":5856,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T00:00:00","slaintakeDate":"2022-09-23T00:00:00","amount":0,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":null,"createdDate":"2022-09-23T13:21:19.61","modifiedBy":"tgupta@svam.com","modifiedDate":"2022-09-23T13:22:04.06"},{"appPaymentId":2113,"amountAppliedForApp":"10.00","checkDetailId":1623,"appId":5856,"paymentSource":"RDC","checkNo":"2","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T00:00:00","slaintakeDate":"2022-09-23T00:00:00","amount":0,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":null,"createdDate":"2022-09-23T13:21:19.623","modifiedBy":"tgupta@svam.com","modifiedDate":"2022-09-23T13:22:04.07"}],"lateFee":0,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}],"isBondRequired":true,"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":true,"fundDueDate":"2022-09-30T00:00:00.000Z","emailNotificationDetail":{"applicant":{"communicationId":0,"email":"automation@svam.com","appId":5856,"emailContactTypeId":1,"isChecked":true,"roleId":3,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":19517,"email":"sbandi@svam.com","appId":5856,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"automation@test.com","appId":5856,"emailContactTypeId":0,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":true,"appId":5856,"notificationTypeId":96}},"notificationDetails":{"applicant":{"communicationId":0,"email":"automation@svam.com","appId":5856,"emailContactTypeId":1,"isChecked":true,"roleId":3,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":19517,"email":"sbandi@svam.com","appId":5856,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"automation@test.com","appId":5856,"emailContactTypeId":0,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":true,"appId":5856,"notificationTypeId":96},"taskId":2066}
# {"checks":[{"checkDetailId":1625,"appId":5858,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T22:56:37.353Z","slaintakeDate":"2022-09-23T22:56:37.353Z","amount":100 ,"appliedTo":null,"amountUsed":100,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-09-23T22:56:37.353,"modifiedBy":null,"modifiedDate":null,"applyClick":true,"{"checkDetailId":1626,"appId":5858,"paymentSource":"RDC","checkNo":"2","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T22:56:37.353Z","slaintakeDate":"2022-09-23T22:56:37.353Z","amount":"10" ,"appliedTo":null,"amountUsed":0 ,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-09-23T22:56:37.353 ,"modifiedBy":null,"modifiedDate":null,"applyClick":true,],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer", "applicationId":"RE-22-106103-01","applicationTypeId":1,"appFeesId":6039,"appId":5858,"feesRefId":6039,"initialFees":0,"licensingFees":960 ,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":"960" ,"filingFees":"0" ,"ancillaryFees":"0" ,"isFeesWaived":false,"underPaymentAmount":0 ,"amountReceived":"10" ,"waivedComment":null,"isBondReceived":false,"isBondRequired":true,"bondFee":1000,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":5858,"checkDetailId":1625,"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":"100.00","amount":0},{"appId":5858,"checkDetailId":1626,"checkNo":"2","itemNo":"1","batchNo":"1","amountAppliedForApp":"10","amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"isFromReturnedCheck":false,"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":true,"fundDueDate":"2022-09-30T22:56:36.973Z","emailNotificationDetail":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":5858,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":5858,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":5858,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":5858,"createdBy":"Tarun Gupta"},"taskId":null}
836
When method post
208
20:39:27.364 request:
7 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/14004/false
7 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
7 > Content-Type: application/json; charset=UTF-8
7 > Content-Length: 5452
7 > Host: slaleapqaapi.svam.com
7 > Connection: Keep-Alive
7 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
7 > Accept-Encoding: gzip,deflate
{"checks":[{"checkDetailId":2402,"appId":14004,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T20:39:26.877Z","slaintakeDate":"2022-11-15T20:39:26.877Z","amount":40000,"appliedTo":null,"amountUsed":40000,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-03-24T09:43:00.873","modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"RE-22-106382-01","applicationTypeId":1,"appFeesId":6039,"appId":14004,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"30","totalFees":"1060","filingFees":"0","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":0,"amountReceived":"40000.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":14004,"checkDetailId":2402,"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":"40000.00","amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":"1970-01-01T00:00:00.000Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":14004,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14004,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14004,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":14004,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14004,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14004,"createdBy":"Tarun Gupta"},"taskId":null}
20:39:27.571 response time in milliseconds: 207
7 < 200
7 < Content-Type: application/json; charset=utf-8
7 < Server: Microsoft-IIS/10.0
7 < Strict-Transport-Security: max-age=2592000
7 < X-Powered-By: ASP.NET
7 < Date: Tue, 15 Nov 2022 15:09:27 GMT
7 < Content-Length: 4
true
837
Then status 200
0
838
And print response
0
20:39:27.571 [print] true
# ********* SAVE Application Details To Save *********************
843
Given path '/internalapi/api/licensing/app/save'
0
844
And header authorization = 'Bearer ' + strToken
0
845
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":'#(appId)',"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
846
When method post
316
20:39:27.575 request:
8 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
8 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
8 > Content-Type: application/json; charset=UTF-8
8 > Content-Length: 30720
8 > Host: slaleapqaapi.svam.com
8 > Connection: Keep-Alive
8 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
8 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":14004,"formID":1167,"applicationID":"RE-22-106382-01","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":14004,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
20:39:27.889 response time in milliseconds: 314
8 < 200
8 < Content-Length: 49
8 < Content-Type: application/json; charset=utf-8
8 < Server: Microsoft-IIS/10.0
8 < Strict-Transport-Security: max-age=2592000
8 < X-Powered-By: ASP.NET
8 < Date: Tue, 15 Nov 2022 15:09:27 GMT
{"appId":14004,"applicationId":"RE-22-106382-01"}
847
Then status 200
0
848
And def serverResponse = response
0
241
* call read('LicensesCommonMethods.feature@UploadDocumentAmendment') {}
818
>>
karate.UseCases.LicensesCommonMethods
223
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
5666
* def receivedDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy/MM/dd");
var date = new java.util.Date();
return sdf.format(date);
}
5675
* def receivedDate = receivedDateFunc()
0
5677
Given path '/internalapi/api/document/UploadDocument'
0
5678
And header Content-Type = 'application/json; charset=utf-8'
0
5679
And header Accept = 'application/json; text/plain;*/*'
0
5680
And header authorization = 'Bearer ' + strToken
0
5681
And request {"documentDesc":"TestDocument.docx","acaId":'#(appId)',"acaType":"application","bureau":"bureau","documentType":{"key":1,"value":"20 DAY NOTICE","description":null,"documentSubCategory":"20 DAY"},"documentCategory":null,"receivedDate":'#(receivedDate)',"createdDate":'#(date)',"documentBase64":"data:application/vnd.openxmlformats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9jdXN0b20ueG1sUEsBAi0AFAAGAAgAAAAhAHvzAqPDAAAAKAEAAB4AAAAAAAAAAAAAAAAAxD0AAGN1c3RvbVhtbC9fcmVscy9pdGVtMy54bWwucmVsc1BLBQYAAAAAFQAVAHsFAADLPwAAAAA=","contentType":"application/vnd.openxmlformats-officedocument.wordprocessingml.document","fileName":"TestDocument.docx","tempGuid":"7a79aee7-0aff-51fb-2e7c-e2445c418b89"}
0
5683
When method post
219
20:39:28.489 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/document/UploadDocument
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
1 > Content-Length: 24547
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"documentDesc":"TestDocument.docx","acaId":14004,"acaType":"application","bureau":"bureau","documentType":{"key":1,"value":"20 DAY NOTICE","description":null,"documentSubCategory":"20 DAY"},"documentCategory":null,"receivedDate":"2022\/11\/15","createdDate":"2022-11-15T20:39:28.483Z","documentBase64":"data:application\/vnd.openxmlformats-officedocument.wordprocessingml.document;base64,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AAAAhAFyWJyLDAAAAKAEAAB4AAAAAAAAAAAAAAAAAQjcAAGN1c3RvbVhtbC9fcmVscy9pdGVtMi54bWwucmVsc1BLAQItABQABgAIAAAAIQB\/i0PDwQAAACIBAAATAAAAAAAAAAAAAAAAAEk5AABjdXN0b21YbWwvaXRlbTMueG1sUEsBAi0AFAAGAAgAAAAhAF2Pkjy5AAAAyQAAABgAAAAAAAAAAAAAAAAAYzoAAGN1c3RvbVhtbC9pdGVtUHJvcHMzLnhtbFBLAQItABQABgAIAAAAIQAAw+x7EQEAAJIBAAATAAAAAAAAAAAAAAAAAHo7AABkb2NQcm9wcy9jdXN0b20ueG1sUEsBAi0AFAAGAAgAAAAhAHvzAqPDAAAAKAEAAB4AAAAAAAAAAAAAAAAAxD0AAGN1c3RvbVhtbC9fcmVscy9pdGVtMy54bWwucmVsc1BLBQYAAAAAFQAVAHsFAADLPwAAAAA=","contentType":"application\/vnd.openxmlformats-officedocument.wordprocessingml.document","fileName":"TestDocument.docx","tempGuid":"7a79aee7-0aff-51fb-2e7c-e2445c418b89"}
20:39:28.704 response time in milliseconds: 215
1 < 200
1 < Content-Length: 4
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:28 GMT
true
5684
Then status 200
0
5685
And print response
0
20:39:28.705 [print] true
5686
* match response == 'true'
0
243
* call read('LicensesCommonMethods.feature@SubmitLicenseAndValidateLicStatus') {expStatus:'Awaiting Review'}
4333
>>
karate.UseCases.LicensesCommonMethods
3374
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Application SUBMIT *********************
1099
Given path '/internalapi/api/licensing/app/submit'
0
1100
And header authorization = 'Bearer ' + strToken
0
1101
And request {"appId":'#(appId)',"wfType":null}
0
1102
When method post
245
20:39:29.665 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/submit
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 29
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"appId":14004,"wfType":null}
20:39:29.910 response time in milliseconds: 245
1 < 200
1 < Content-Length: 121
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:29 GMT
{"success":true,"submittedApps":[{"success":true,"taskId":0,"appId":14004,"applicationId":"RE-22-106382-01","error":""}]}
1103
Then status 200
0
1104
And def serverResponse = response
0
1105
And match response.success == true
0
1106
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
3127
>>
karate.UseCases.LicensesCommonMethods
1039
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
878
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
158
20:39:32.877 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/14004
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:39:33.031 response time in milliseconds: 154
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:33 GMT
1 < Content-Length: 213
{"applicationId":"RE-22-106382-01","submitDate":"2022-11-15T10:09:29.837","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":true}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:39:33.032 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
0
244
* def licPerType = 'license'
0
245
* call read('LicensesCommonMethods.feature@AssignApplicationsToExaminer') {expStatus:'Awaiting Review'}
1903
>>
karate.UseCases.LicensesCommonMethods
1321
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* AssignApplicationsSaveDigestDataToExaminer *********************
1139
Given path '/internalapi/api/licensing/examiner/assignApplicationsToExaminer'
0
1140
And header authorization = 'Bearer ' + strToken
0
1141
And request [{"appId":'#(appId)',"examinerId":1069,"priority":"Normal"}]
0
1142
When method post
187
20:39:33.622 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner/assignApplicationsToExaminer
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 55
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"appId":14004,"examinerId":1069,"priority":"Normal"}]
20:39:33.808 response time in milliseconds: 186
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:33 GMT
1 < Content-Length: 5
false
1143
And def serverResponse = response
0
1144
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
1132
>>
karate.UseCases.LicensesCommonMethods
542
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
319
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
219
20:39:34.708 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/14004
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:39:34.926 response time in milliseconds: 218
1 < 200
1 < Content-Length: 213
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:34 GMT
{"applicationId":"RE-22-106382-01","submitDate":"2022-11-15T10:09:29.837","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":true}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:39:34.928 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
394
* def extendedDueDateRenewal = fundDueDateFuncRenewal(15)
1
397
And print extendedDueDateRenewal
0
20:39:34.950 [print] 2022-11-30T20:39:34.950Z
398
* def licPerType = 'license'
0
399
* call read('RenewalCommonMethods.feature@RenewalPermitExaminerReviewDefineDefencies') {expStatus:'Additional Info Required'}
724
20:39:35.674 classpath:karate/UseCases/Uc_RenewalDueDate.feature:399
* call read('RenewalCommonMethods.feature@RenewalPermitExaminerReviewDefineDefencies') {expStatus:'Additional Info Required'}
status code was: 450, expected: 200, response time in milliseconds: 291, url: https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner-review/saveDecision, response:
{
"statusCode": 450,
"message": "0be1acada879 : Current task is not valid"
}
classpath:karate/UseCases/RenewalCommonMethods.feature:1486
classpath:karate/UseCases/Uc_RenewalDueDate.feature:399
>>
karate.UseCases.RenewalCommonMethods
478
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def date = getDate2()
1
17
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
26
* def effectiveDate = effectiveDateFunc()
0
30
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
39
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
50
* def fundDueDate = fundDueDateFunc(7)
1
53
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
64
* def conditionDefinedDateFunction =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.00");
var date = new java.util.Date();
return sdf.format(date);
}
75
* def conditionDefinedDate = conditionDefinedDateFunction()
0
76
* def conditionDefinedDateFunctionwithAddedDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var date = new java.util.Date();
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
88
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
99
* def getRenewalReviewFunc =
0
function(reviewType){
if (reviewType == 'Send to Licensing Board'){
return 2;
}
else if (reviewType == 'Send to Full Board Preview Team'){
return 3;
}
else if (reviewType == 'Define Deficiencies'){
return 1;
}
}
# ********* RenewalPermitExaminerReviewDefineDefencies *********************
1453
* def summisionDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS");
var date = new java.util.Date();
return sdf.format(date);
}
1461
Given path '/internalapi/api/application/'+appId
0
1462
And header Content-Type = 'application/json; charset=utf-8'
0
1463
And header Accept = 'application/json; text/plain;*/*'
0
1464
And header authorization = 'Bearer ' + strToken
0
1465
And request {}
0
1466
When method get
176
20:39:35.199 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/14004
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:39:35.374 response time in milliseconds: 175
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:34 GMT
1 < Content-Length: 2491
{"applicationCategory":1,"appId":14004,"applicationId":"RE-22-106382-01","licePermitTypeId":null,"applicationTypeId":2,"formVersionId":1666,"formId":1167,"legalName":"Automation20221115203925Automation","submitDate":"2022-11-15T10:09:29.837","isGISRequired":false,"licenseDescription":"Restaurant-Beer","recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":"New York","priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Awaiting Review","taskId":2020,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":"12/15/2022 12:00:00 AM","memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":2753,"appId":14004,"examinerId":1069,"name":null,"assignDate":"2022-11-15T10:09:33.763","isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":40,"type":"1","category":"1","product":"Beer","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":40,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"clericalName":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"isFairOrFestival":false,"isShowEffExpDateOnLBReview":false,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":"2022-11-15T10:09:33.763"}
1467
Then status 200
0
1468
And def serverResponse = response
0
1469
* def applicationTypeId = serverResponse.applicationTypeId
0
1470
* def amendmentTypeId = serverResponse.amendmentTypeId
0
1472
* def ApplicationId = serverResponse.applicationId
0
1473
* def formVersionId = serverResponse.formVersionId
0
1474
* def formId = serverResponse.formId
0
1475
* def pastDueDate = serverResponse.pastDueDate
0
1476
And print pastDueDate
0
20:39:35.375 [print] 12/15/2022 12:00:00 AM
1477
* def appExaminerId = serverResponse.assignAppExaminer.appExaminerId
0
1478
* def countyName = serverResponse.assignAppExaminer.countyName
1
1480
Given path '/internalapi/api/licensing/examiner-review/saveDecision'
0
1481
* def formatedSumbitDate = summisionDate()
1
1482
And header authorization = 'Bearer ' + strToken
0
1483
And header current-wfroleid = 4
0
1484
And request {"isFingerPrintsApproved":true,"isFingerPrintsRequired":true,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"appId":'#(appId)',"applicationId":"","applicationType":2,"taskId":2059,"application":{"applicationCategory":1,"appId":'#(appId)',"applicationId":'#(ApplicationId)',"licePermitTypeId":null,"applicationTypeId":2,"formVersionId":'#(formVersionId)',"formId":'#(formId)',"legalName":"Automation20220922133655Automation","submitDate":"2022-09-22T04:06:59.267","isGISRequired":null,"licenseDescription":"Restaurant-Beer","recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":"New York","priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Additional Info Received","taskId":2059,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":true,"isHighlyDeficient":null,"isAllDeficienciesMet":false,"pastDueDate":"10/22/2022 12:00:00 AM","memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":3110,"appId":'#(appId)',"examinerId":1069,"name":null,"assignDate":"2022-09-22T04:07:00.5","isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":40,"type":"1","category":"1","product":"Beer","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":40,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"clericalName":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"isFairOrFestival":false,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":"2022-09-22T04:07:04.213"},"newComments":"","defineDeficiencies":{"isHighlyDeficientApplication":null,"isAllDeficienciesMet":false,"isFinalDeficiency":true},"approvedRenewal":{},"hasErrors":[],"emailNotificationModel":{"applicant":{"communicationId":18448,"email":"automation@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":""}},"recommendedDecisionId":null,"decisionType":{"name":"No And Define Final Deficiency","value":10,"isChecked":null},"erDeficiencies":{"deficiencies":[],"descriptions":[],"deficienciesList":[],"selectInput":{"fromFields":[{"id":4,"label":"Applicant Name doesnt match Filing Receipt","fullText":"As the applicant is a corporation, LLC or LLP, the applicant name must be the same as the name on the filing receipt."},{"id":5,"label":"Secretary of State filing receipt missing","fullText":"Submit a copy of the Secretary of State filing receipt for the corp/LLC/LLP"},{"id":6,"label":"Corporate Minutes Missing","fullText":"Provide a copy of the corporate minutes for the applicant entity"},{"id":7,"label":"LLC Operating Agreement Missing","fullText":"Provide a copy of the LLC operating agreement for the applicant entity"},{"id":8,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":9,"label":"Prem Address does not match Lease","fullText":"Premises address does not match the address listed on lease."},{"id":10,"label":"Prem Address does not match bill of sale","fullText":"Premises address does not match the address listed on the bill of sale."},{"id":11,"label":"PremAddress does not match deed","fullText":"Premises address does not match the address listed on the deed."},{"id":12,"label":"Prem address not same on all docs or physical loc. ","fullText":"Premises address must be written the same on all documents and must be the physical location of the premises (not the mailing address)."},{"id":13,"label":"Missing NOA/Attorney/Rep","fullText":"Submit a Notice of Appearance or the attorney or representative."},{"id":14,"label":"Lease Missing","fullText":"Entity owning real property does not match applicant name – A lease between the two parties is required and must be submitted. "},{"id":15,"label":"Lease Term Incorrect","fullText":"The lease must run the full term of the license period (please take processing time into consideration when determining the end date of the lease). Provide either a new lease document or an amendment/rider to the existing one (signed by both landlord and tenant). "},{"id":16,"label":"Landlord Name Missing from Deed","fullText":"Landlord name must be the name shown on the deed."},{"id":17,"label":"Landlord Principals Missing","fullText":"All principals of the landlord entity must be listed."},{"id":18,"label":"Deed Missing","fullText":"To verify ownership, submit a copy of the deed."},{"id":19,"label":"Source of Funds Missing","fullText":"The source of ALL funds (cash and borrowed) must be listed on this form."},{"id":20,"label":"Financial Docs Missing","fullText":"Submit financial documentation proving the availability of the funds listed. You must submit 3 consecutive months-worth of statements from checking or savings accounts showing the availability of the funds at the time they were expended."},{"id":21,"label":"Executed Loan Agreements Missing","fullText":"Submit a copy of all executed loan agreements. "},{"id":22,"label":"500 foot Premises Missing","fullText":"Provide the name and address of all on premises liquor establishments located within 500 feet of your establishment."},{"id":23,"label":"500 Foot Statement Missing","fullText":"Provide a statement addressing why you believe it would be in the public's interest to issue this license."},{"id":24,"label":"Statement of Area Plan Missing","fullText":"Please complete the Statement of Area Plan form"},{"id":25,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":26,"label":"","fullText":"Please list gender on _________'s personal questionnaire."},{"id":27,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":28,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":29,"label":"Amend License history for {}","fullText":"________________ has/had license history with the Authority. Amend question five to reflect all license history."},{"id":30,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":31,"label":"Label all Rooms and Bars","fullText":"Amend the diagram labeling all rooms and bars"},{"id":32,"label":"Include Food Prep Area","fullText":"Amend the diagram to include the food prep area"},{"id":33,"label":"Diagram of Basement Missing","fullText":"Provide a diagram of the basement"},{"id":34,"label":"Block Plot Diagram Missing","fullText":"Provide a block plot diagram"},{"id":35,"label":"Outside Area Diagram Missing","fullText":"Add the outside area to the diagram "},{"id":36,"label":"Interior Color Photos Missing","fullText":"Submit color photos of the interior of the premises including all dining areas, the bar and at least one of the kitchen. Place the serial number on the back of each photo."},{"id":37,"label":"Front Exterior Color Photo Missing","fullText":"Submit one color photo of the front exterior of the premises. Place the serial number on the back of the photo."},{"id":38,"label":"Outside Area Color Photo Missing","fullText":"Submit color photos of any outside area (deck, patio, yard) to be licensed. The photos must show how the area is contained (fencing, shrubbery, roping off). Place the serial number on the back of the photos."},{"id":39,"label":"Applicant Color Photo Missing","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":40,"label":"Photo ID for {} Missing","fullText":"Provide a copy of ____________'s photo identification."},{"id":41,"label":"Menu Missing","fullText":"Submit a copy of the menu."},{"id":42,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":43,"label":"Additional Restroom Required","fullText":"You have listed 1 restroom. The Rules of the State Liquor Authority require 2 separate restrooms for both sexes. Please submit a request to the Authority asking for a waiver of the 2-restroom rule. You must explain why you believe one restroom is sufficient for the operation of your establishment."},{"id":44,"label":"Maximum Occupancy Cert Missing","fullText":"Submit a copy of the maximum occupancy certificate."},{"id":45,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted. "},{"id":46,"label":"Applicant Photo Missing","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":47,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted."},{"id":48,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":49,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":50,"label":"Gender missing on {}'s PQ","fullText":"Please list gender on _________'s personal questionnaire."},{"id":51,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":52,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":53,"label":"Amend License history for {}","fullText":"________________ has/had license history with the Authority. Amend question five to reflect all license history."},{"id":54,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":55,"label":"Current Diagram Missing","fullText":"Provide a current diagram – showing what the premises looks like before the proposed changes to be made."},{"id":56,"label":"Proposed Diagram Missing","fullText":"Provide a proposed diagram – showing what the premises will look like after the changes are complete."},{"id":57,"label":"Block Plot Diagram Missing","fullText":"Provide a block plot diagram."},{"id":58,"label":"Outside Area Diagram Missing","fullText":"Add the outside area to the proposed diagram."},{"id":59,"label":"Building Permit Missing","fullText":"Provide a copy of the building permit."},{"id":60,"label":"Area to be Altered Photos Missing","fullText":"Provide photos of the area to be altered."},{"id":61,"label":"Lease of New Area Missing","fullText":"Provide a copy of the lease for the proposed new area."},{"id":62,"label":"New Premises Establishment Q. Missing","fullText":"Provide a completed establishment questionnaire for the new proposed premises."},{"id":63,"label":"Add Bar Application Missing","fullText":"You are adding a new bar to the premises, please provide an additional bar application along with $__________."},{"id":64,"label":"Proof of Finances Misses","fullText":"Provide proof of finances."},{"id":65,"label":"Part 1 Principals Missing","fullText":"List all current principals in Part 1."},{"id":66,"label":"Part 2 Principals Missing","fullText":"List all proposed (current and new) principals in Part 2."},{"id":67,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":68,"label":"Contract/Bill of Sale for Stocks/Shares Missing","fullText":"Provide a copy of the contract or bill of sale for the stock/shares being sold."},{"id":69,"label":"Gift Letter Missing","fullText":"Provide a gift letter for the stock/shares being gifted."},{"id":70,"label":"Death Certificate Missing","fullText":"Provide a copy of the death certificate."},{"id":71,"label":"Last will and Testament Missing","fullText":"Provide a copy of the Last Will & Testament."},{"id":72,"label":"Letters of Testamony or Administration Missing","fullText":"Provide a copy of any Letters of Testamentary or Letters of Administration."},{"id":73,"label":"Applicant's Statement missing","fullText":"Provide a copy of the applicant's statement completed by all new principals."},{"id":74,"label":"Personal Questionnaire Missing","fullText":"Provide a personal questionnaire for any new individuals."},{"id":75,"label":"Proof of Finances Missing","fullText":"Provide proof of finances."},{"id":76,"label":"Standardized Notice Form Missing","fullText":"Provide a copy of the completed standardized notice form and proof of mailing to the community board."},{"id":77,"label":"Corporate Minutes Missing","fullText":"Provide a copy of the corporate minutes appointing new officers."},{"id":78,"label":"Amended Operating Agreement Missing","fullText":"Provide a copy of the amended operating agreement for the LLC listing all officers."},{"id":79,"label":"Applicant Photo Missing for {}","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":81,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":82,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":83,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":84,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":85,"label":"Amend License history for {}","fullText":"________________ has/had license history with the Authority. Amend question five to reflect all license history."},{"id":86,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":87,"label":"Contract/Bill of Sale for interest sold Missing","fullText":"Provide a copy of the contract or bill of sale for the interest being sold."},{"id":88,"label":"Gift Letter Missing","fullText":"Provide a gift letter for the interest being gifted."},{"id":89,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":90,"label":"Death Certificate Missing","fullText":"Provide a copy of the death certificate."},{"id":91,"label":"Last will and Testament Missing","fullText":"Provide a copy of the Last Will & Testament"},{"id":92,"label":"Letters of Testamony or Administration Missing","fullText":"Provide a copy of any Letters of Testamentary or Letters of Administration"},{"id":93,"label":"Applicant's Statement missing","fullText":"Provide a copy of the applicant's statement completed by each new individual or partner"},{"id":94,"label":"Proof of Finances Missing","fullText":"Provide proof of finances."},{"id":95,"label":"Management Agreement Missing","fullText":"Provide a copy of the management agreement."},{"id":96,"label":"Personal Questionnaire Missing","fullText":"Provide a personal questionnaire for any new individuals."},{"id":97,"label":"911 or Municipality Letter Missing","fullText":"Provide a copy of the 911 or letter from the municipality changing the premises address."},{"id":98,"label":"Bond Rider for Premises Address Missing","fullText":"Provide a copy of the bond rider amending the premises address."},{"id":99,"label":"Amended Certificate of Authority Missing","fullText":"Provide a copy of the amended Certificate of Authority reflecting the new information."},{"id":100,"label":"Marriage Cert Missing","fullText":"Provide a copy of the marriage certificate."},{"id":101,"label":"Divorce Decree Missing","fullText":"Provide a copy of the divorce decree."},{"id":102,"label":"Assumed Name Filing Receipt Missing","fullText":"Provide a copy of the Assumed Name filing receipt from the Secretary of State."},{"id":103,"label":"Corporate Name Filing Receipt Missing","fullText":"Provide a copy of the Amended Corporate Name filing receipt from the Secretary of State."},{"id":104,"label":"Court Authorization Docs Missing","fullText":"Provide a copy of documentation of Court Authorization."},{"id":105,"label":"Business Certificate Missing","fullText":"Provide a copy of the amended or new Business Certificate from the county clerk's office."},{"id":106,"label":"Amended Operating Agreement Missing","fullText":"Provide a copy of the amended operating agreement for the LLC, listing all officers."},{"id":107,"label":"Holding Corp Stipulation Missing","fullText":"Provide a holding corporation stipulation."},{"id":108,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":109,"label":"Bond Rider for New Name Missing","fullText":"Provide a bond rider reflecting the new name."},{"id":110,"label":"Applicant Photo Missing for {}","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":111,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted."},{"id":112,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":113,"label":"Personal Quetionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":115,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":116,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":117,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":118,"label":"Amend License history for {}","fullText":"________________ has/had license history with the Authority. Amend question five to reflect all license history."},{"id":119,"label":"Statement of Changes Missing","fullText":"Provide a statement explaining the changes being requested."},{"id":120,"label":"Method of Operatiom Missing","fullText":"Provide a Method of Operation"},{"id":121,"label":"Standardized Notice Form Missing","fullText":"Provide a standardized notice form and proof of mailing sent to the municipality or community board notifying them of the proposed changes."},{"id":122,"label":"Supporting Municiaplity or CB Letter Missing","fullText":"Provide a letter from the municipality or community board advising that they support the proposed changes."},{"id":123,"label":"Additional Funds Required","fullText":"Additional Funds Required"},{"id":124,"label":"Bond Missing","fullText":"Submit the Bond."},{"id":125,"label":"Bond not Signed","fullText":"Signt the Bond."},{"id":126,"label":"All Approved Principals Missing","fullText":"List all the principals approved to be on the license in the corporate section of the renewal application."},{"id":127,"label":"Standardized Notice Form Missing","fullText":"Submit a copy of the 30 day Standardized Notification form sent to the Community Board."},{"id":128,"label":"Proof of Mailing for Standardized Notice","fullText":"Submit a copy of the proof of mailing for the Standardized Notification form. "},{"id":129,"label":"Provide Assumed Name Certificate for DBA","fullText":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC's dba name."},{"id":130,"label":"Provde Business Cert for DBA","fullText":"Provide a copy of the business certificate from the county clerk for your dba name."},{"id":131,"label":"Provide FEIN","fullText":"Provide your federal tax identification number."},{"id":132,"label":"Provide Certificate of Authority DTF","fullText":"Provide a copy of your Certificate of Authority from the New York State Tax Department."},{"id":133,"label":"Provide Amended Cert of Auth. - Name does not Match","fullText":"Provide an amended Certificate of Authority – the name must match the applicant name exactly."},{"id":134,"label":"Provide Amended Cert of Auth.- Address does not Match","fullText":"Provide an amended Certificate of Authority – the address must match the premises address exactly."},{"id":135,"label":"Provide bond rider amending {}","fullText":"Provide a signed Bond Rider amending _______."},{"id":136,"label":"Provide Worker's Comp and Disablity Names and Policy No. ","fullText":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers."},{"id":137,"label":"Provide Inventory to be Purchased","fullText":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee."},{"id":138,"label":"Provide Newspaper Affidavits","fullText":"Submit a copy of the Newspaper Affidavit(s)."},{"id":139,"label":"Provide your TTB Permit","fullText":"Provide your TTB permit."},{"id":140,"label":"Surrender Current License in Effect","fullText":"Surrender of the current license in effect."},{"id":141,"label":"Edits to Curriculum","fullText":"Make the edits listed below to the curriculum."},{"id":142,"label":"Curriculum too General","fullText":"The submitted Curriculum generally covers the required topics. However, the below changes must be made to ensure that the persons taking the course understand their rights, obligations, and liabilities under New York law."},{"id":143,"label":"Direct Delivery Missing","fullText":"The licensee's and server's responsibility to not sell, deliver or give alcohol to someone under the age of 21 (ABC Law 65)."},{"id":144,"label":"Redelivery Missing","fullText":"The licensee's and server's responsibility when serving more than one drink to an individual to be aware of any redelivery by the legal patron (on-premises only)."},{"id":145,"label":"Reasonable Supervision Missing","fullText":"The licensee's and server's responsibility to reasonably supervise the premises."},{"id":146,"label":"Right to Refuse Missing","fullText":"The licensee's and server's right to refuse to sell, including but not limited to, an underage patron, an intoxicated patron, or a patron without proper identification."},{"id":147,"label":"Burden of Reasonable Reliance Missing","fullText":"The licensee's and server's burden to establish that a delivery of alcohol was made in a reasonable reliance upon written evidence of age."},{"id":148,"label":"Forms of Identification Missing","fullText":"The forms of identification which may be legally accepted as written evidence of age (ABC Law 65-b.2)."},{"id":149,"label":"ID Features Missing","fullText":"Key features of the valid forms of identification and the way false and fraudulent forms of identification may be detected."},{"id":150,"label":"Devices and Manuals Missing","fullText":"Devices and manuals which may be used to aid in the detection of false and fraudulent written evidence of age, and information regarding the way such devises and manuals may be obtained."},{"id":151,"label":"Criminal Penalties Missing","fullText":"The criminal liabilities and penalties for both the individual and the establishment for unlawfully dealing with a child (Penal Law 260.20)."},{"id":152,"label":"Civil Liabilities Missing","fullText":"The civil liabilities, general liabilities, responsibilities and general obligations (General Obligations Law 11-100 and 11-101)."},{"id":153,"label":"Firsthand Accounts Missing","fullText":"Firsthand accounts from the public illustrating the consequences of the failure of licensees and/or servers to operate in a safe, legal and responsible manner. (i.e., MADD, RID, and Shattered Lives)."},{"id":154,"label":"Course Access","fullText":"Provide the New York State Liquor Authority with access to the online course for review."},{"id":155,"label":"Applicant website","fullText":"Remove the following content from the applicants' website:"},{"id":156,"label":"Legal Name Missing","fullText":"Provide the legal name of the applicant."},{"id":157,"label":"Mailing Address","fullText":"Provide the mailing address of the applicant."},{"id":158,"label":"Federal ID Number","fullText":"Provide the federal id number of the applicant."},{"id":159,"label":"Applicant's phone","fullText":"Provide the applicant's contact phone number."},{"id":160,"label":"Applicant's Email","fullText":"Provide the applicant's email address."},{"id":161,"label":"Director's Name","fullText":"Provide the director's name."},{"id":162,"label":"Director's Phone","fullText":"Provide the director's phone number."},{"id":163,"label":"Director's Email","fullText":"Provide the director's email address."},{"id":164,"label":"Program Box","fullText":"Designate the format of the course. The Alcoholic Beverage Control Law states that the course be taught via online, classroom, or distance learning. An ATAP course can be offered in multiple formats."},{"id":165,"label":"Late Renewal","fullText":"Late Renewal"}],"toFields":[{"id":-1,"label":"Applicant Photo Missing","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________.","originalId":46},{"id":-2,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted. ","originalId":45},{"id":-3,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________.","originalId":48},{"id":-4,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________.","originalId":49},{"id":-5,"label":"Gender missing on {}'s PQ","fullText":"Please list gender on _________'s personal questionnaire.","originalId":50},{"id":-6,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years.","originalId":51},{"id":-7,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected.","originalId":52},{"id":-8,"label":"Amend License history for {}","fullText":"________________ has/had license history with the Authority. Amend question five to reflect all license history.","originalId":53},{"id":-9,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities.","originalId":54},{"id":-10,"label":"Additional Funds Required","fullText":"Additional Funds Required","originalId":123},{"id":-11,"label":"Provide Assumed Name Certificate for DBA","fullText":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC's dba name.","originalId":129},{"id":-12,"label":"Provde Business Cert for DBA","fullText":"Provide a copy of the business certificate from the county clerk for your dba name.","originalId":130},{"id":-13,"label":"Provide FEIN","fullText":"Provide your federal tax identification number.","originalId":131},{"id":-14,"label":"Provide Certificate of Authority DTF","fullText":"Provide a copy of your Certificate of Authority from the New York State Tax Department.","originalId":132},{"id":-15,"label":"Provide Amended Cert of Auth. - Name does not Match","fullText":"Provide an amended Certificate of Authority – the name must match the applicant name exactly.","originalId":133},{"id":-16,"label":"Provide Amended Cert of Auth.- Address does not Match","fullText":"Provide an amended Certificate of Authority – the address must match the premises address exactly.","originalId":134},{"id":-17,"label":"Provide bond rider amending {}","fullText":"Provide a signed Bond Rider amending _______.","originalId":135},{"id":-18,"label":"Provide Worker's Comp and Disablity Names and Policy No. ","fullText":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers.","originalId":136},{"id":-19,"label":"Provide Inventory to be Purchased","fullText":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee.","originalId":137},{"id":-20,"label":"Provide Newspaper Affidavits","fullText":"Submit a copy of the Newspaper Affidavit(s).","originalId":138},{"id":-21,"label":"Provide your TTB Permit","fullText":"Provide your TTB permit.","originalId":139},{"id":-22,"label":"Surrender Current License in Effect","fullText":"Surrender of the current license in effect.","originalId":140},{"deficiencyDetailId":4701,"appId":'#(appId)',"deficiencyTypeId":46,"deficiencyType":"ABC Officer","shortDescription":"Applicant Photo Missing","applicationType":"Amendments","description":"Provide a color photo of the applicant (no smaller than passport size) for _______________.","deficiencyDate":"2022-09-22T04:07:05.363","responseDueDate":"2022-10-02T04:07:05.363","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.363","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a color photo of the applicant (no smaller than passport size) for _______________.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4701,"originalId":4701,"label":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"deficiencyDetailId":4702,"appId":'#(appId)',"deficiencyTypeId":47,"deficiencyType":"ABC Officer","shortDescription":"Fingerprints needed for {}","applicationType":"Amendments","description":"______________________ needs to be fingerprinted.","deficiencyDate":"2022-09-22T04:07:05.367","responseDueDate":"2022-10-02T04:07:05.367","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.367","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"______________________ needs to be fingerprinted.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4702,"originalId":4702,"label":"______________________ needs to be fingerprinted."},{"deficiencyDetailId":4703,"appId":'#(appId)',"deficiencyTypeId":48,"deficiencyType":"ABC Officer","shortDescription":"Proof of Citizenship Missing for {}","applicationType":"Amendments","description":"Provide proof of citizenship for _________________.","deficiencyDate":"2022-09-22T04:07:05.373","responseDueDate":"2022-10-02T04:07:05.373","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.373","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide proof of citizenship for _________________.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4703,"originalId":4703,"label":"Provide proof of citizenship for _________________."},{"deficiencyDetailId":4704,"appId":'#(appId)',"deficiencyTypeId":49,"deficiencyType":"ABC Officer","shortDescription":"Personal Questionnaire missing for {}","applicationType":"Amendments","description":"Provide a personal questionnaire for __________________.","deficiencyDate":"2022-09-22T04:07:05.377","responseDueDate":"2022-10-02T04:07:05.377","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.377","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a personal questionnaire for __________________.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4704,"originalId":4704,"label":"Provide a personal questionnaire for __________________."},{"deficiencyDetailId":4705,"appId":'#(appId)',"deficiencyTypeId":50,"deficiencyType":"ABC Officer","shortDescription":"Gender missing on {}'s PQ","applicationType":"Amendments","description":"Please list gender on _________'s personal questionnaire.","deficiencyDate":"2022-09-22T04:07:05.383","responseDueDate":"2022-10-02T04:07:05.383","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.383","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Please list gender on _________'s personal questionnaire.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4705,"originalId":4705,"label":"Please list gender on _________'s personal questionnaire."},{"deficiencyDetailId":4706,"appId":'#(appId)',"deficiencyTypeId":51,"deficiencyType":"ABC Officer","shortDescription":"Residence Address (past) Missing","applicationType":"Amendments","description":"Provide residence addresses for the last 5 consecutive years.","deficiencyDate":"2022-09-22T04:07:05.39","responseDueDate":"2022-10-02T04:07:05.39","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.39","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide residence addresses for the last 5 consecutive years.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4706,"originalId":4706,"label":"Provide residence addresses for the last 5 consecutive years."},{"deficiencyDetailId":4707,"appId":'#(appId)',"deficiencyTypeId":52,"deficiencyType":"ABC Officer","shortDescription":"Employment Info (past) Missing","applicationType":"Amendments","description":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected.","deficiencyDate":"2022-09-22T04:07:05.397","responseDueDate":"2022-10-02T04:07:05.397","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.397","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4707,"originalId":4707,"label":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"deficiencyDetailId":4708,"appId":'#(appId)',"deficiencyTypeId":53,"deficiencyType":"ABC Officer","shortDescription":"Amend License history for {}","applicationType":"Amendments","description":"________________ has/had license history with the Authority. Amend question five to reflect all license history.","deficiencyDate":"2022-09-22T04:07:05.4","responseDueDate":"2022-10-02T04:07:05.4","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.4","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"________________ has/had license history with the Authority. Amend question five to reflect all license history.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4708,"originalId":4708,"label":"________________ has/had license history with the Authority. Amend question five to reflect all license history."},{"deficiencyDetailId":4709,"appId":'#(appId)',"deficiencyTypeId":54,"deficiencyType":"ABC Officer","shortDescription":"Conviction Record found for {}","applicationType":"Amendments","description":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities.","deficiencyDate":"2022-09-22T04:07:05.407","responseDueDate":"2022-10-02T04:07:05.407","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.407","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4709,"originalId":4709,"label":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"deficiencyDetailId":4711,"appId":10376,"deficiencyTypeId":129,"deficiencyType":"All","shortDescription":"Provide Assumed Name Certificate for DBA","applicationType":"All","description":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC's dba name.","deficiencyDate":"2022-09-22T04:07:05.42","responseDueDate":"2022-10-02T04:07:05.42","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.42","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC's dba name.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4711,"originalId":4711,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC's dba name."},{"deficiencyDetailId":4712,"appId":'#(appId)',"deficiencyTypeId":130,"deficiencyType":"All","shortDescription":"Provde Business Cert for DBA","applicationType":"All","description":"Provide a copy of the business certificate from the county clerk for your dba name.","deficiencyDate":"2022-09-22T04:07:05.427","responseDueDate":"2022-10-02T04:07:05.427","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.427","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a copy of the business certificate from the county clerk for your dba name.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4712,"originalId":4712,"label":"Provide a copy of the business certificate from the county clerk for your dba name."},{"deficiencyDetailId":4713,"appId":'#(appId)',"deficiencyTypeId":131,"deficiencyType":"All","shortDescription":"Provide FEIN","applicationType":"All","description":"Provide your federal tax identification number.","deficiencyDate":"2022-09-22T04:07:05.433","responseDueDate":"2022-10-02T04:07:05.433","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.433","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide your federal tax identification number.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4713,"originalId":4713,"label":"Provide your federal tax identification number."},{"deficiencyDetailId":4714,"appId":'#(appId)',"deficiencyTypeId":132,"deficiencyType":"All","shortDescription":"Provide Certificate of Authority DTF","applicationType":"All","description":"Provide a copy of your Certificate of Authority from the New York State Tax Department.","deficiencyDate":"2022-09-22T04:07:05.437","responseDueDate":"2022-10-02T04:07:05.437","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.437","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a copy of your Certificate of Authority from the New York State Tax Department.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4714,"originalId":4714,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department."},{"deficiencyDetailId":4715,"appId":'#(appId)',"deficiencyTypeId":133,"deficiencyType":"All","shortDescription":"Provide Amended Cert of Auth. - Name does not Match","applicationType":"All","description":"Provide an amended Certificate of Authority – the name must match the applicant name exactly.","deficiencyDate":"2022-09-22T04:07:05.447","responseDueDate":"2022-10-02T04:07:05.447","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.447","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide an amended Certificate of Authority – the name must match the applicant name exactly.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4715,"originalId":4715,"label":"Provide an amended Certificate of Authority – the name must match the applicant name exactly."},{"deficiencyDetailId":4716,"appId":'#(appId)',"deficiencyTypeId":134,"deficiencyType":"All","shortDescription":"Provide Amended Cert of Auth.- Address does not Match","applicationType":"All","description":"Provide an amended Certificate of Authority – the address must match the premises address exactly.","deficiencyDate":"2022-09-22T04:07:05.453","responseDueDate":"2022-10-02T04:07:05.453","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.453","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide an amended Certificate of Authority – the address must match the premises address exactly.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4716,"originalId":4716,"label":"Provide an amended Certificate of Authority – the address must match the premises address exactly."},{"deficiencyDetailId":4717,"appId":'#(appId)',"deficiencyTypeId":135,"deficiencyType":"All","shortDescription":"Provide bond rider amending {}","applicationType":"All","description":"Provide a signed Bond Rider amending _______.","deficiencyDate":"2022-09-22T04:07:05.46","responseDueDate":"2022-10-02T04:07:05.46","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.46","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a signed Bond Rider amending _______.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4717,"originalId":4717,"label":"Provide a signed Bond Rider amending _______."},{"deficiencyDetailId":4718,"appId":'#(appId)',"deficiencyTypeId":136,"deficiencyType":"All","shortDescription":"Provide Worker's Comp and Disablity Names and Policy No. ","applicationType":"All","description":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers.","deficiencyDate":"2022-09-22T04:07:05.467","responseDueDate":"2022-10-02T04:07:05.467","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.467","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4718,"originalId":4718,"label":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers."},{"deficiencyDetailId":4719,"appId":'#(appId)',"deficiencyTypeId":137,"deficiencyType":"All","shortDescription":"Provide Inventory to be Purchased","applicationType":"All","description":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee.","deficiencyDate":"2022-09-22T04:07:05.473","responseDueDate":"2022-10-02T04:07:05.473","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.473","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4719,"originalId":4719,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee."},{"deficiencyDetailId":4720,"appId":'#(appId)',"deficiencyTypeId":138,"deficiencyType":"All","shortDescription":"Provide Newspaper Affidavits","applicationType":"All","description":"Submit a copy of the Newspaper Affidavit(s).","deficiencyDate":"2022-09-22T04:07:05.48","responseDueDate":"2022-10-02T04:07:05.48","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.48","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Submit a copy of the Newspaper Affidavit(s).","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4720,"originalId":4720,"label":"Submit a copy of the Newspaper Affidavit(s)."},{"deficiencyDetailId":4721,"appId":'#(appId)',"deficiencyTypeId":139,"deficiencyType":"All","shortDescription":"Provide your TTB Permit","applicationType":"All","description":"Provide your TTB permit.","deficiencyDate":"2022-09-22T04:07:05.487","responseDueDate":"2022-10-02T04:07:05.487","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.487","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide your TTB permit.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4721,"originalId":4721,"label":"Provide your TTB permit."},{"deficiencyDetailId":4722,"appId":'#(appId)',"deficiencyTypeId":140,"deficiencyType":"All","shortDescription":"Surrender Current License in Effect","applicationType":"All","description":"Surrender of the current license in effect.","deficiencyDate":"2022-09-22T04:07:05.493","responseDueDate":"2022-10-02T04:07:05.493","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.493","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Surrender of the current license in effect.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4722,"originalId":4722,"label":"Surrender of the current license in effect."}],"isRewritable":true,"rewriteLabel":"Edit Deficiency:","additionalComments":"","srclabel":"Select Deficiencies","dstlabel":"Add to Notification","additionalLabel":"Add Additional Deficiencies:"}},"mfccFileDataDtos":[],"notificationTypeId":2028,"combinedCraftAndMasterFileGrandTotal":null,"licenseData":{}}
1
1485
When method post
294
20:39:35.382 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner-review/saveDecision
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiYWNiNTg1NjQtMmI2Yi00NTBlLThmODgtZmRkODA3YzMxZTI3IiwiZXhwIjoxNjY4NTUzNzMzLCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.6VKYP89OEDRq9FaUj-OiyyTuW1_-L-FTX4K_KoW2lwU
2 > current-wfroleid: 4
2 > Content-Type: application/json; charset=UTF-8
2 > Content-Length: 54942
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"isFingerPrintsApproved":true,"isFingerPrintsRequired":true,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"appId":14004,"applicationId":"","applicationType":2,"taskId":2059,"application":{"applicationCategory":1,"appId":14004,"applicationId":"RE-22-106382-01","licePermitTypeId":null,"applicationTypeId":2,"formVersionId":1666,"formId":1167,"legalName":"Automation20220922133655Automation","submitDate":"2022-09-22T04:06:59.267","isGISRequired":null,"licenseDescription":"Restaurant-Beer","recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":"New York","priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Additional Info Received","taskId":2059,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":true,"isHighlyDeficient":null,"isAllDeficienciesMet":false,"pastDueDate":"10\/22\/2022 12:00:00 AM","memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":3110,"appId":14004,"examinerId":1069,"name":null,"assignDate":"2022-09-22T04:07:00.5","isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":40,"type":"1","category":"1","product":"Beer","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":40,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"clericalName":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"isFairOrFestival":false,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":"2022-09-22T04:07:04.213"},"newComments":"","defineDeficiencies":{"isHighlyDeficientApplication":null,"isAllDeficienciesMet":false,"isFinalDeficiency":true},"approvedRenewal":{},"hasErrors":[],"emailNotificationModel":{"applicant":{"communicationId":18448,"email":"automation@svam.com","appId":14004,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":""}},"recommendedDecisionId":null,"decisionType":{"name":"No And Define Final Deficiency","value":10,"isChecked":null},"erDeficiencies":{"deficiencies":[],"descriptions":[],"deficienciesList":[],"selectInput":{"fromFields":[{"id":4,"label":"Applicant Name doesnt match Filing Receipt","fullText":"As the applicant is a corporation, LLC or LLP, the applicant name must be the same as the name on the filing receipt."},{"id":5,"label":"Secretary of State filing receipt missing","fullText":"Submit a copy of the Secretary of State filing receipt for the corp\/LLC\/LLP"},{"id":6,"label":"Corporate Minutes Missing","fullText":"Provide a copy of the corporate minutes for the applicant entity"},{"id":7,"label":"LLC Operating Agreement Missing","fullText":"Provide a copy of the LLC operating agreement for the applicant entity"},{"id":8,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":9,"label":"Prem Address does not match Lease","fullText":"Premises address does not match the address listed on lease."},{"id":10,"label":"Prem Address does not match bill of sale","fullText":"Premises address does not match the address listed on the bill of sale."},{"id":11,"label":"PremAddress does not match deed","fullText":"Premises address does not match the address listed on the deed."},{"id":12,"label":"Prem address not same on all docs or physical loc. ","fullText":"Premises address must be written the same on all documents and must be the physical location of the premises (not the mailing address)."},{"id":13,"label":"Missing NOA\/Attorney\/Rep","fullText":"Submit a Notice of Appearance or the attorney or representative."},{"id":14,"label":"Lease Missing","fullText":"Entity owning real property does not match applicant name \u2013 A lease between the two parties is required and must be submitted. "},{"id":15,"label":"Lease Term Incorrect","fullText":"The lease must run the full term of the license period (please take processing time into consideration when determining the end date of the lease). Provide either a new lease document or an amendment\/rider to the existing one (signed by both landlord and tenant). "},{"id":16,"label":"Landlord Name Missing from Deed","fullText":"Landlord name must be the name shown on the deed."},{"id":17,"label":"Landlord Principals Missing","fullText":"All principals of the landlord entity must be listed."},{"id":18,"label":"Deed Missing","fullText":"To verify ownership, submit a copy of the deed."},{"id":19,"label":"Source of Funds Missing","fullText":"The source of ALL funds (cash and borrowed) must be listed on this form."},{"id":20,"label":"Financial Docs Missing","fullText":"Submit financial documentation proving the availability of the funds listed. You must submit 3 consecutive months-worth of statements from checking or savings accounts showing the availability of the funds at the time they were expended."},{"id":21,"label":"Executed Loan Agreements Missing","fullText":"Submit a copy of all executed loan agreements. "},{"id":22,"label":"500 foot Premises Missing","fullText":"Provide the name and address of all on premises liquor establishments located within 500 feet of your establishment."},{"id":23,"label":"500 Foot Statement Missing","fullText":"Provide a statement addressing why you believe it would be in the public's interest to issue this license."},{"id":24,"label":"Statement of Area Plan Missing","fullText":"Please complete the Statement of Area Plan form"},{"id":25,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":26,"label":"","fullText":"Please list gender on _________'s personal questionnaire."},{"id":27,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":28,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":29,"label":"Amend License history for {}","fullText":"________________ has\/had license history with the Authority. Amend question five to reflect all license history."},{"id":30,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":31,"label":"Label all Rooms and Bars","fullText":"Amend the diagram labeling all rooms and bars"},{"id":32,"label":"Include Food Prep Area","fullText":"Amend the diagram to include the food prep area"},{"id":33,"label":"Diagram of Basement Missing","fullText":"Provide a diagram of the basement"},{"id":34,"label":"Block Plot Diagram Missing","fullText":"Provide a block plot diagram"},{"id":35,"label":"Outside Area Diagram Missing","fullText":"Add the outside area to the diagram "},{"id":36,"label":"Interior Color Photos Missing","fullText":"Submit color photos of the interior of the premises including all dining areas, the bar and at least one of the kitchen. Place the serial number on the back of each photo."},{"id":37,"label":"Front Exterior Color Photo Missing","fullText":"Submit one color photo of the front exterior of the premises. Place the serial number on the back of the photo."},{"id":38,"label":"Outside Area Color Photo Missing","fullText":"Submit color photos of any outside area (deck, patio, yard) to be licensed. The photos must show how the area is contained (fencing, shrubbery, roping off). Place the serial number on the back of the photos."},{"id":39,"label":"Applicant Color Photo Missing","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":40,"label":"Photo ID for {} Missing","fullText":"Provide a copy of ____________'s photo identification."},{"id":41,"label":"Menu Missing","fullText":"Submit a copy of the menu."},{"id":42,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":43,"label":"Additional Restroom Required","fullText":"You have listed 1 restroom. The Rules of the State Liquor Authority require 2 separate restrooms for both sexes. Please submit a request to the Authority asking for a waiver of the 2-restroom rule. You must explain why you believe one restroom is sufficient for the operation of your establishment."},{"id":44,"label":"Maximum Occupancy Cert Missing","fullText":"Submit a copy of the maximum occupancy certificate."},{"id":45,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted. "},{"id":46,"label":"Applicant Photo Missing","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":47,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted."},{"id":48,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":49,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":50,"label":"Gender missing on {}'s PQ","fullText":"Please list gender on _________'s personal questionnaire."},{"id":51,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":52,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":53,"label":"Amend License history for {}","fullText":"________________ has\/had license history with the Authority. Amend question five to reflect all license history."},{"id":54,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":55,"label":"Current Diagram Missing","fullText":"Provide a current diagram \u2013 showing what the premises looks like before the proposed changes to be made."},{"id":56,"label":"Proposed Diagram Missing","fullText":"Provide a proposed diagram \u2013 showing what the premises will look like after the changes are complete."},{"id":57,"label":"Block Plot Diagram Missing","fullText":"Provide a block plot diagram."},{"id":58,"label":"Outside Area Diagram Missing","fullText":"Add the outside area to the proposed diagram."},{"id":59,"label":"Building Permit Missing","fullText":"Provide a copy of the building permit."},{"id":60,"label":"Area to be Altered Photos Missing","fullText":"Provide photos of the area to be altered."},{"id":61,"label":"Lease of New Area Missing","fullText":"Provide a copy of the lease for the proposed new area."},{"id":62,"label":"New Premises Establishment Q. Missing","fullText":"Provide a completed establishment questionnaire for the new proposed premises."},{"id":63,"label":"Add Bar Application Missing","fullText":"You are adding a new bar to the premises, please provide an additional bar application along with $__________."},{"id":64,"label":"Proof of Finances Misses","fullText":"Provide proof of finances."},{"id":65,"label":"Part 1 Principals Missing","fullText":"List all current principals in Part 1."},{"id":66,"label":"Part 2 Principals Missing","fullText":"List all proposed (current and new) principals in Part 2."},{"id":67,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":68,"label":"Contract\/Bill of Sale for Stocks\/Shares Missing","fullText":"Provide a copy of the contract or bill of sale for the stock\/shares being sold."},{"id":69,"label":"Gift Letter Missing","fullText":"Provide a gift letter for the stock\/shares being gifted."},{"id":70,"label":"Death Certificate Missing","fullText":"Provide a copy of the death certificate."},{"id":71,"label":"Last will and Testament Missing","fullText":"Provide a copy of the Last Will & Testament."},{"id":72,"label":"Letters of Testamony or Administration Missing","fullText":"Provide a copy of any Letters of Testamentary or Letters of Administration."},{"id":73,"label":"Applicant's Statement missing","fullText":"Provide a copy of the applicant's statement completed by all new principals."},{"id":74,"label":"Personal Questionnaire Missing","fullText":"Provide a personal questionnaire for any new individuals."},{"id":75,"label":"Proof of Finances Missing","fullText":"Provide proof of finances."},{"id":76,"label":"Standardized Notice Form Missing","fullText":"Provide a copy of the completed standardized notice form and proof of mailing to the community board."},{"id":77,"label":"Corporate Minutes Missing","fullText":"Provide a copy of the corporate minutes appointing new officers."},{"id":78,"label":"Amended Operating Agreement Missing","fullText":"Provide a copy of the amended operating agreement for the LLC listing all officers."},{"id":79,"label":"Applicant Photo Missing for {}","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":81,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":82,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":83,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":84,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":85,"label":"Amend License history for {}","fullText":"________________ has\/had license history with the Authority. Amend question five to reflect all license history."},{"id":86,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":87,"label":"Contract\/Bill of Sale for interest sold Missing","fullText":"Provide a copy of the contract or bill of sale for the interest being sold."},{"id":88,"label":"Gift Letter Missing","fullText":"Provide a gift letter for the interest being gifted."},{"id":89,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":90,"label":"Death Certificate Missing","fullText":"Provide a copy of the death certificate."},{"id":91,"label":"Last will and Testament Missing","fullText":"Provide a copy of the Last Will & Testament"},{"id":92,"label":"Letters of Testamony or Administration Missing","fullText":"Provide a copy of any Letters of Testamentary or Letters of Administration"},{"id":93,"label":"Applicant's Statement missing","fullText":"Provide a copy of the applicant's statement completed by each new individual or partner"},{"id":94,"label":"Proof of Finances Missing","fullText":"Provide proof of finances."},{"id":95,"label":"Management Agreement Missing","fullText":"Provide a copy of the management agreement."},{"id":96,"label":"Personal Questionnaire Missing","fullText":"Provide a personal questionnaire for any new individuals."},{"id":97,"label":"911 or Municipality Letter Missing","fullText":"Provide a copy of the 911 or letter from the municipality changing the premises address."},{"id":98,"label":"Bond Rider for Premises Address Missing","fullText":"Provide a copy of the bond rider amending the premises address."},{"id":99,"label":"Amended Certificate of Authority Missing","fullText":"Provide a copy of the amended Certificate of Authority reflecting the new information."},{"id":100,"label":"Marriage Cert Missing","fullText":"Provide a copy of the marriage certificate."},{"id":101,"label":"Divorce Decree Missing","fullText":"Provide a copy of the divorce decree."},{"id":102,"label":"Assumed Name Filing Receipt Missing","fullText":"Provide a copy of the Assumed Name filing receipt from the Secretary of State."},{"id":103,"label":"Corporate Name Filing Receipt Missing","fullText":"Provide a copy of the Amended Corporate Name filing receipt from the Secretary of State."},{"id":104,"label":"Court Authorization Docs Missing","fullText":"Provide a copy of documentation of Court Authorization."},{"id":105,"label":"Business Certificate Missing","fullText":"Provide a copy of the amended or new Business Certificate from the county clerk's office."},{"id":106,"label":"Amended Operating Agreement Missing","fullText":"Provide a copy of the amended operating agreement for the LLC, listing all officers."},{"id":107,"label":"Holding Corp Stipulation Missing","fullText":"Provide a holding corporation stipulation."},{"id":108,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":109,"label":"Bond Rider for New Name Missing","fullText":"Provide a bond rider reflecting the new name."},{"id":110,"label":"Applicant Photo Missing for {}","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":111,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted."},{"id":112,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":113,"label":"Personal Quetionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":115,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":116,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":117,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":118,"label":"Amend License history for {}","fullText":"________________ has\/had license history with the Authority. Amend question five to reflect all license history."},{"id":119,"label":"Statement of Changes Missing","fullText":"Provide a statement explaining the changes being requested."},{"id":120,"label":"Method of Operatiom Missing","fullText":"Provide a Method of Operation"},{"id":121,"label":"Standardized Notice Form Missing","fullText":"Provide a standardized notice form and proof of mailing sent to the municipality or community board notifying them of the proposed changes."},{"id":122,"label":"Supporting Municiaplity or CB Letter Missing","fullText":"Provide a letter from the municipality or community board advising that they support the proposed changes."},{"id":123,"label":"Additional Funds Required","fullText":"Additional Funds Required"},{"id":124,"label":"Bond Missing","fullText":"Submit the Bond."},{"id":125,"label":"Bond not Signed","fullText":"Signt the Bond."},{"id":126,"label":"All Approved Principals Missing","fullText":"List all the principals approved to be on the license in the corporate section of the renewal application."},{"id":127,"label":"Standardized Notice Form Missing","fullText":"Submit a copy of the 30 day Standardized Notification form sent to the Community Board."},{"id":128,"label":"Proof of Mailing for Standardized Notice","fullText":"Submit a copy of the proof of mailing for the Standardized Notification form. "},{"id":129,"label":"Provide Assumed Name Certificate for DBA","fullText":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC's dba name."},{"id":130,"label":"Provde Business Cert for DBA","fullText":"Provide a copy of the business certificate from the county clerk for your dba name."},{"id":131,"label":"Provide FEIN","fullText":"Provide your federal tax identification number."},{"id":132,"label":"Provide Certificate of Authority DTF","fullText":"Provide a copy of your Certificate of Authority from the New York State Tax Department."},{"id":133,"label":"Provide Amended Cert of Auth. - Name does not Match","fullText":"Provide an amended Certificate of Authority \u2013 the name must match the applicant name exactly."},{"id":134,"label":"Provide Amended Cert of Auth.- Address does not Match","fullText":"Provide an amended Certificate of Authority \u2013 the address must match the premises address exactly."},{"id":135,"label":"Provide bond rider amending {}","fullText":"Provide a signed Bond Rider amending _______."},{"id":136,"label":"Provide Worker's Comp and Disablity Names and Policy No. ","fullText":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers."},{"id":137,"label":"Provide Inventory to be Purchased","fullText":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee."},{"id":138,"label":"Provide Newspaper Affidavits","fullText":"Submit a copy of the Newspaper Affidavit(s)."},{"id":139,"label":"Provide your TTB Permit","fullText":"Provide your TTB permit."},{"id":140,"label":"Surrender Current License in Effect","fullText":"Surrender of the current license in effect."},{"id":141,"label":"Edits to Curriculum","fullText":"Make the edits listed below to the curriculum."},{"id":142,"label":"Curriculum too General","fullText":"The submitted Curriculum generally covers the required topics. However, the below changes must be made to ensure that the persons taking the course understand their rights, obligations, and liabilities under New York law."},{"id":143,"label":"Direct Delivery Missing","fullText":"The licensee's and server's responsibility to not sell, deliver or give alcohol to someone under the age of 21 (ABC Law 65)."},{"id":144,"label":"Redelivery Missing","fullText":"The licensee's and server's responsibility when serving more than one drink to an individual to be aware of any redelivery by the legal patron (on-premises only)."},{"id":145,"label":"Reasonable Supervision Missing","fullText":"The licensee's and server's responsibility to reasonably supervise the premises."},{"id":146,"label":"Right to Refuse Missing","fullText":"The licensee's and server's right to refuse to sell, including but not limited to, an underage patron, an intoxicated patron, or a patron without proper identification."},{"id":147,"label":"Burden of Reasonable Reliance Missing","fullText":"The licensee's and server's burden to establish that a delivery of alcohol was made in a reasonable reliance upon written evidence of age."},{"id":148,"label":"Forms of Identification Missing","fullText":"The forms of identification which may be legally accepted as written evidence of age (ABC Law 65-b.2)."},{"id":149,"label":"ID Features Missing","fullText":"Key features of the valid forms of identification and the way false and fraudulent forms of identification may be detected."},{"id":150,"label":"Devices and Manuals Missing","fullText":"Devices and manuals which may be used to aid in the detection of false and fraudulent written evidence of age, and information regarding the way such devises and manuals may be obtained."},{"id":151,"label":"Criminal Penalties Missing","fullText":"The criminal liabilities and penalties for both the individual and the establishment for unlawfully dealing with a child (Penal Law 260.20)."},{"id":152,"label":"Civil Liabilities Missing","fullText":"The civil liabilities, general liabilities, responsibilities and general obligations (General Obligations Law 11-100 and 11-101)."},{"id":153,"label":"Firsthand Accounts Missing","fullText":"Firsthand accounts from the public illustrating the consequences of the failure of licensees and\/or servers to operate in a safe, legal and responsible manner. (i.e., MADD, RID, and Shattered Lives)."},{"id":154,"label":"Course Access","fullText":"Provide the New York State Liquor Authority with access to the online course for review."},{"id":155,"label":"Applicant website","fullText":"Remove the following content from the applicants' website:"},{"id":156,"label":"Legal Name Missing","fullText":"Provide the legal name of the applicant."},{"id":157,"label":"Mailing Address","fullText":"Provide the mailing address of the applicant."},{"id":158,"label":"Federal ID Number","fullText":"Provide the federal id number of the applicant."},{"id":159,"label":"Applicant's phone","fullText":"Provide the applicant's contact phone number."},{"id":160,"label":"Applicant's Email","fullText":"Provide the applicant's email address."},{"id":161,"label":"Director's Name","fullText":"Provide the director's name."},{"id":162,"label":"Director's Phone","fullText":"Provide the director's phone number."},{"id":163,"label":"Director's Email","fullText":"Provide the director's email address."},{"id":164,"label":"Program Box","fullText":"Designate the format of the course. The Alcoholic Beverage Control Law states that the course be taught via online, classroom, or distance learning. An ATAP course can be offered in multiple formats."},{"id":165,"label":"Late Renewal","fullText":"Late Renewal"}],"toFields":[{"id":-1,"label":"Applicant Photo Missing","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________.","originalId":46},{"id":-2,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted. ","originalId":45},{"id":-3,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________.","originalId":48},{"id":-4,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________.","originalId":49},{"id":-5,"label":"Gender missing on {}'s PQ","fullText":"Please list gender on _________'s personal questionnaire.","originalId":50},{"id":-6,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years.","originalId":51},{"id":-7,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected.","originalId":52},{"id":-8,"label":"Amend License history for {}","fullText":"________________ has\/had license history with the Authority. Amend question five to reflect all license history.","originalId":53},{"id":-9,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities.","originalId":54},{"id":-10,"label":"Additional Funds Required","fullText":"Additional Funds Required","originalId":123},{"id":-11,"label":"Provide Assumed Name Certificate for DBA","fullText":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC's dba name.","originalId":129},{"id":-12,"label":"Provde Business Cert for DBA","fullText":"Provide a copy of the business certificate from the county clerk for your dba name.","originalId":130},{"id":-13,"label":"Provide FEIN","fullText":"Provide your federal tax identification number.","originalId":131},{"id":-14,"label":"Provide Certificate of Authority DTF","fullText":"Provide a copy of your Certificate of Authority from the New York State Tax Department.","originalId":132},{"id":-15,"label":"Provide Amended Cert of Auth. - Name does not Match","fullText":"Provide an amended Certificate of Authority \u2013 the name must match the applicant name exactly.","originalId":133},{"id":-16,"label":"Provide Amended Cert of Auth.- Address does not Match","fullText":"Provide an amended Certificate of Authority \u2013 the address must match the premises address exactly.","originalId":134},{"id":-17,"label":"Provide bond rider amending {}","fullText":"Provide a signed Bond Rider amending _______.","originalId":135},{"id":-18,"label":"Provide Worker's Comp and Disablity Names and Policy No. ","fullText":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers.","originalId":136},{"id":-19,"label":"Provide Inventory to be Purchased","fullText":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee.","originalId":137},{"id":-20,"label":"Provide Newspaper Affidavits","fullText":"Submit a copy of the Newspaper Affidavit(s).","originalId":138},{"id":-21,"label":"Provide your TTB Permit","fullText":"Provide your TTB permit.","originalId":139},{"id":-22,"label":"Surrender Current License in Effect","fullText":"Surrender of the current license in effect.","originalId":140},{"deficiencyDetailId":4701,"appId":14004,"deficiencyTypeId":46,"deficiencyType":"ABC Officer","shortDescription":"Applicant Photo Missing","applicationType":"Amendments","description":"Provide a color photo of the applicant (no smaller than passport size) for _______________.","deficiencyDate":"2022-09-22T04:07:05.363","responseDueDate":"2022-10-02T04:07:05.363","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.363","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a color photo of the applicant (no smaller than passport size) for _______________.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4701,"originalId":4701,"label":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"deficiencyDetailId":4702,"appId":14004,"deficiencyTypeId":47,"deficiencyType":"ABC Officer","shortDescription":"Fingerprints needed for {}","applicationType":"Amendments","description":"______________________ needs to be fingerprinted.","deficiencyDate":"2022-09-22T04:07:05.367","responseDueDate":"2022-10-02T04:07:05.367","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.367","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"______________________ needs to be fingerprinted.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4702,"originalId":4702,"label":"______________________ needs to be fingerprinted."},{"deficiencyDetailId":4703,"appId":14004,"deficiencyTypeId":48,"deficiencyType":"ABC Officer","shortDescription":"Proof of Citizenship Missing for {}","applicationType":"Amendments","description":"Provide proof of citizenship for _________________.","deficiencyDate":"2022-09-22T04:07:05.373","responseDueDate":"2022-10-02T04:07:05.373","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.373","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide proof of citizenship for _________________.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4703,"originalId":4703,"label":"Provide proof of citizenship for _________________."},{"deficiencyDetailId":4704,"appId":14004,"deficiencyTypeId":49,"deficiencyType":"ABC Officer","shortDescription":"Personal Questionnaire missing for {}","applicationType":"Amendments","description":"Provide a personal questionnaire for __________________.","deficiencyDate":"2022-09-22T04:07:05.377","responseDueDate":"2022-10-02T04:07:05.377","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.377","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a personal questionnaire for __________________.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4704,"originalId":4704,"label":"Provide a personal questionnaire for __________________."},{"deficiencyDetailId":4705,"appId":14004,"deficiencyTypeId":50,"deficiencyType":"ABC Officer","shortDescription":"Gender missing on {}'s PQ","applicationType":"Amendments","description":"Please list gender on _________'s personal questionnaire.","deficiencyDate":"2022-09-22T04:07:05.383","responseDueDate":"2022-10-02T04:07:05.383","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.383","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Please list gender on _________'s personal questionnaire.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4705,"originalId":4705,"label":"Please list gender on _________'s personal questionnaire."},{"deficiencyDetailId":4706,"appId":14004,"deficiencyTypeId":51,"deficiencyType":"ABC Officer","shortDescription":"Residence Address (past) Missing","applicationType":"Amendments","description":"Provide residence addresses for the last 5 consecutive years.","deficiencyDate":"2022-09-22T04:07:05.39","responseDueDate":"2022-10-02T04:07:05.39","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.39","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide residence addresses for the last 5 consecutive years.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4706,"originalId":4706,"label":"Provide residence addresses for the last 5 consecutive years."},{"deficiencyDetailId":4707,"appId":14004,"deficiencyTypeId":52,"deficiencyType":"ABC Officer","shortDescription":"Employment Info (past) Missing","applicationType":"Amendments","description":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected.","deficiencyDate":"2022-09-22T04:07:05.397","responseDueDate":"2022-10-02T04:07:05.397","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.397","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4707,"originalId":4707,"label":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"deficiencyDetailId":4708,"appId":14004,"deficiencyTypeId":53,"deficiencyType":"ABC Officer","shortDescription":"Amend License history for {}","applicationType":"Amendments","description":"________________ has\/had license history with the Authority. Amend question five to reflect all license history.","deficiencyDate":"2022-09-22T04:07:05.4","responseDueDate":"2022-10-02T04:07:05.4","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.4","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"________________ has\/had license history with the Authority. Amend question five to reflect all license history.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4708,"originalId":4708,"label":"________________ has\/had license history with the Authority. Amend question five to reflect all license history."},{"deficiencyDetailId":4709,"appId":14004,"deficiencyTypeId":54,"deficiencyType":"ABC Officer","shortDescription":"Conviction Record found for {}","applicationType":"Amendments","description":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities.","deficiencyDate":"2022-09-22T04:07:05.407","responseDueDate":"2022-10-02T04:07:05.407","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.407","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4709,"originalId":4709,"label":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"deficiencyDetailId":4711,"appId":10376,"deficiencyTypeId":129,"deficiencyType":"All","shortDescription":"Provide Assumed Name Certificate for DBA","applicationType":"All","description":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC's dba name.","deficiencyDate":"2022-09-22T04:07:05.42","responseDueDate":"2022-10-02T04:07:05.42","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.42","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC's dba name.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4711,"originalId":4711,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC's dba name."},{"deficiencyDetailId":4712,"appId":14004,"deficiencyTypeId":130,"deficiencyType":"All","shortDescription":"Provde Business Cert for DBA","applicationType":"All","description":"Provide a copy of the business certificate from the county clerk for your dba name.","deficiencyDate":"2022-09-22T04:07:05.427","responseDueDate":"2022-10-02T04:07:05.427","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.427","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a copy of the business certificate from the county clerk for your dba name.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4712,"originalId":4712,"label":"Provide a copy of the business certificate from the county clerk for your dba name."},{"deficiencyDetailId":4713,"appId":14004,"deficiencyTypeId":131,"deficiencyType":"All","shortDescription":"Provide FEIN","applicationType":"All","description":"Provide your federal tax identification number.","deficiencyDate":"2022-09-22T04:07:05.433","responseDueDate":"2022-10-02T04:07:05.433","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.433","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide your federal tax identification number.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4713,"originalId":4713,"label":"Provide your federal tax identification number."},{"deficiencyDetailId":4714,"appId":14004,"deficiencyTypeId":132,"deficiencyType":"All","shortDescription":"Provide Certificate of Authority DTF","applicationType":"All","description":"Provide a copy of your Certificate of Authority from the New York State Tax Department.","deficiencyDate":"2022-09-22T04:07:05.437","responseDueDate":"2022-10-02T04:07:05.437","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.437","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a copy of your Certificate of Authority from the New York State Tax Department.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4714,"originalId":4714,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department."},{"deficiencyDetailId":4715,"appId":14004,"deficiencyTypeId":133,"deficiencyType":"All","shortDescription":"Provide Amended Cert of Auth. - Name does not Match","applicationType":"All","description":"Provide an amended Certificate of Authority \u2013 the name must match the applicant name exactly.","deficiencyDate":"2022-09-22T04:07:05.447","responseDueDate":"2022-10-02T04:07:05.447","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.447","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide an amended Certificate of Authority \u2013 the name must match the applicant name exactly.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4715,"originalId":4715,"label":"Provide an amended Certificate of Authority \u2013 the name must match the applicant name exactly."},{"deficiencyDetailId":4716,"appId":14004,"deficiencyTypeId":134,"deficiencyType":"All","shortDescription":"Provide Amended Cert of Auth.- Address does not Match","applicationType":"All","description":"Provide an amended Certificate of Authority \u2013 the address must match the premises address exactly.","deficiencyDate":"2022-09-22T04:07:05.453","responseDueDate":"2022-10-02T04:07:05.453","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.453","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide an amended Certificate of Authority \u2013 the address must match the premises address exactly.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4716,"originalId":4716,"label":"Provide an amended Certificate of Authority \u2013 the address must match the premises address exactly."},{"deficiencyDetailId":4717,"appId":14004,"deficiencyTypeId":135,"deficiencyType":"All","shortDescription":"Provide bond rider amending {}","applicationType":"All","description":"Provide a signed Bond Rider amending _______.","deficiencyDate":"2022-09-22T04:07:05.46","responseDueDate":"2022-10-02T04:07:05.46","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.46","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a signed Bond Rider amending _______.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4717,"originalId":4717,"label":"Provide a signed Bond Rider amending _______."},{"deficiencyDetailId":4718,"appId":14004,"deficiencyTypeId":136,"deficiencyType":"All","shortDescription":"Provide Worker's Comp and Disablity Names and Policy No. ","applicationType":"All","description":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers.","deficiencyDate":"2022-09-22T04:07:05.467","responseDueDate":"2022-10-02T04:07:05.467","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.467","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4718,"originalId":4718,"label":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers."},{"deficiencyDetailId":4719,"appId":14004,"deficiencyTypeId":137,"deficiencyType":"All","shortDescription":"Provide Inventory to be Purchased","applicationType":"All","description":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee.","deficiencyDate":"2022-09-22T04:07:05.473","responseDueDate":"2022-10-02T04:07:05.473","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.473","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4719,"originalId":4719,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee."},{"deficiencyDetailId":4720,"appId":14004,"deficiencyTypeId":138,"deficiencyType":"All","shortDescription":"Provide Newspaper Affidavits","applicationType":"All","description":"Submit a copy of the Newspaper Affidavit(s).","deficiencyDate":"2022-09-22T04:07:05.48","responseDueDate":"2022-10-02T04:07:05.48","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.48","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Submit a copy of the Newspaper Affidavit(s).","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4720,"originalId":4720,"label":"Submit a copy of the Newspaper Affidavit(s)."},{"deficiencyDetailId":4721,"appId":14004,"deficiencyTypeId":139,"deficiencyType":"All","shortDescription":"Provide your TTB Permit","applicationType":"All","description":"Provide your TTB permit.","deficiencyDate":"2022-09-22T04:07:05.487","responseDueDate":"2022-10-02T04:07:05.487","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.487","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide your TTB permit.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4721,"originalId":4721,"label":"Provide your TTB permit."},{"deficiencyDetailId":4722,"appId":14004,"deficiencyTypeId":140,"deficiencyType":"All","shortDescription":"Surrender Current License in Effect","applicationType":"All","description":"Surrender of the current license in effect.","deficiencyDate":"2022-09-22T04:07:05.493","responseDueDate":"2022-10-02T04:07:05.493","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.493","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Surrender of the current license in effect.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4722,"originalId":4722,"label":"Surrender of the current license in effect."}],"isRewritable":true,"rewriteLabel":"Edit Deficiency:","additionalComments":"","srclabel":"Select Deficiencies","dstlabel":"Add to Notification","additionalLabel":"Add Additional Deficiencies:"}},"mfccFileDataDtos":[],"notificationTypeId":2028,"combinedCraftAndMasterFileGrandTotal":null,"licenseData":{}}
20:39:35.673 response time in milliseconds: 291
2 < 450
2 < Cache-Control: no-cache
2 < Pragma: no-cache
2 < Content-Type: application/json
2 < Expires: -1
2 < Server: Microsoft-IIS/10.0
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:09:34 GMT
2 < Content-Length: 83
{
"statusCode": 450,
"message": "0be1acada879 : Current task is not valid"
}
1486
Then status 200
0
20:39:35.674 classpath:karate/UseCases/RenewalCommonMethods.feature:1486
Then status 200
status code was: 450, expected: 200, response time in milliseconds: 291, url: https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner-review/saveDecision, response:
{
"statusCode": 450,
"message": "0be1acada879 : Current task is not valid"
}
classpath:karate/UseCases/RenewalCommonMethods.feature:1486
1487
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
0
401
* def approvedStatus = false
0
403
* call read('RenewalCommonMethods.feature@RenewalChangeDueDateExtension'){}
0
404
* def emailBodyData = 'our request for a deficiency response extension, for the above-mentioned record, has been disapproved.'
0
405
* def subject = 'NYS Liquor Authority Licensing Bureau Record Information'
0
406
* def typeOfNotification = 'Due Date Extension Disapproved'
0
407
* call read('LicensesCommonMethods.feature@ValidateEmailCommunicationQueue'){}
0
Scenario: [6:414]
TC0003a_SLA_REN_Due_date_Extension_disapprove_Respond_Deficiencies_License_Permit
ms: 48422
>>
Background:
3
* url BaseURL
0
20:39:35.686 karate.env system property was: svamqa
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def amendmentTypeId = 1
0
8
* callonce read('LoginDetails.feature') { strToken:'#(strToken)'}
26
9
* def getcorporateStructureCodeFunc =
0
function(value){
if (value === 'Individual'){
return 1;
}
else {
return 2;
}
}
20
* def getStatusIndOrgStatus =
0
function(value){
if (value === 'Individual'){
return true;
}
else {
return false;
}
}
31
* def getIndORgCodeFunc =
0
function(value1, value2){
if (value1 == 1 && value2 == 'Individual'){
return 1;
}
else if (value1 == 1 && value2 == 'Sole Propretior'){
return 2;
}
else if (value1 == 2 && value2 == 'Individual'){
return 1;
}
else if (value1 == 2 && value2 == 'Limited Liability Company'){
return 2;
}else if (value1 == 2 && value2 == 'Corporation'){
return 3;
}else if (value1 == 2 && value2 == 'Limited Liability Partnership'){
return 4;
}else if (value1 == 2 && value2 == 'Limited Partnership'){
return 5;
}else if (value1 == 2 && value2 == 'Partnership'){
return 6;
}else if (value1 == 2 && value2 == 'Government'){
return 7;
}else if (value1 == 2 && value2 == 'Sole Propretior'){
return 8;
}else if (value1 == 2 && value2 == 'Trust'){
return 9;
}else if (value1 == 2 && value2 == 'Estate'){
return 10;
}
else {
return 1;
}
}
68
* def getAmendmentTypeIdFunc =
0
function(amendmentType){
if (amendmentType == 'ABC Officer'){
return 1;
}
else if (amendmentType == 'Additional Bar'){
return 2;
}
else if (amendmentType == 'Alteration'){
return 3;
}
else if (amendmentType == 'Alteration with Additional Bar'){
return 3;
}
}
87
* def waitFunc =
0
function(timeinMiliSeconds) {
// load java type into js engine
var Thread = Java.type('java.lang.Thread');
Thread.sleep(timeinMiliSeconds*1000);
}
95
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
106
* def fundDueDateFuncRenewal =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
118
* def getMMMMDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("MMMM dd, yyyy");
var date = new java.util.Date();
return sdf.format(date);
}
128
* def mmmmdate = getMMMMDate()
1
130
* def getMMYYDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("MM/dd/yyyy");
var date = new java.util.Date();
return sdf.format(date);
}
140
* def mmyydate = getMMYYDate()
0
142
* def getFundDueDateMMYYDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("MM/dd/yyyy");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
154
* def mmyydateFundDueDate = getFundDueDateMMYYDate(7)
0
156
* def dateFnc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date( date.getTime() - java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
## ******************** UC_RenewalExaminerReview: Validate TC0003TC0003a_SLA_REN_Due_date_Extension_disapprove_Respond_Deficiencies_License_Permit_SLA_REN_Due_date_Extension_disapprove_Respond_Deficiencies_License Scenario Start ***************************##
416
* call read('Uc_RenewalDueDate.feature@SLA_REN_Lic_AssignToExaminer') {}
47664
>>
karate.UseCases.Uc_RenewalDueDate
45712
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def amendmentTypeId = 1
0
8
* callonce read('LoginDetails.feature') { strToken:'#(strToken)'}
24
9
* def getcorporateStructureCodeFunc =
0
function(value){
if (value === 'Individual'){
return 1;
}
else {
return 2;
}
}
20
* def getStatusIndOrgStatus =
0
function(value){
if (value === 'Individual'){
return true;
}
else {
return false;
}
}
31
* def getIndORgCodeFunc =
0
function(value1, value2){
if (value1 == 1 && value2 == 'Individual'){
return 1;
}
else if (value1 == 1 && value2 == 'Sole Propretior'){
return 2;
}
else if (value1 == 2 && value2 == 'Individual'){
return 1;
}
else if (value1 == 2 && value2 == 'Limited Liability Company'){
return 2;
}else if (value1 == 2 && value2 == 'Corporation'){
return 3;
}else if (value1 == 2 && value2 == 'Limited Liability Partnership'){
return 4;
}else if (value1 == 2 && value2 == 'Limited Partnership'){
return 5;
}else if (value1 == 2 && value2 == 'Partnership'){
return 6;
}else if (value1 == 2 && value2 == 'Government'){
return 7;
}else if (value1 == 2 && value2 == 'Sole Propretior'){
return 8;
}else if (value1 == 2 && value2 == 'Trust'){
return 9;
}else if (value1 == 2 && value2 == 'Estate'){
return 10;
}
else {
return 1;
}
}
68
* def getAmendmentTypeIdFunc =
0
function(amendmentType){
if (amendmentType == 'ABC Officer'){
return 1;
}
else if (amendmentType == 'Additional Bar'){
return 2;
}
else if (amendmentType == 'Alteration'){
return 3;
}
else if (amendmentType == 'Alteration with Additional Bar'){
return 3;
}
}
87
* def waitFunc =
0
function(timeinMiliSeconds) {
// load java type into js engine
var Thread = Java.type('java.lang.Thread');
Thread.sleep(timeinMiliSeconds*1000);
}
95
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
106
* def fundDueDateFuncRenewal =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
118
* def getMMMMDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("MMMM dd, yyyy");
var date = new java.util.Date();
return sdf.format(date);
}
128
* def mmmmdate = getMMMMDate()
0
130
* def getMMYYDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("MM/dd/yyyy");
var date = new java.util.Date();
return sdf.format(date);
}
140
* def mmyydate = getMMYYDate()
0
142
* def getFundDueDateMMYYDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("MM/dd/yyyy");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
154
* def mmyydateFundDueDate = getFundDueDateMMYYDate(7)
1
156
* def dateFnc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date( date.getTime() - java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
172
* def IndOrgSelectionDropDown = 'Individual'
0
173
* def indOrgCode = getIndORgCodeFunc(IndOrgSelectionDropDown)
0
174
And print indOrgCode
0
20:39:37.687 [print] 1
175
* def isIndStatus = getStatusIndOrgStatus(IndOrgSelectionDropDown)
0
176
* def CorporateStructureDropDown = 'Individual'
0
177
* def CorporateStructureDropDownCode = getIndORgCodeFunc(indOrgCode,CorporateStructureDropDown)
0
178
And print CorporateStructureDropDownCode
0
20:39:37.688 [print] 1
179
* def firstName = 'Automation'
0
180
* def lastName = 'Automation'
0
181
* def legalName = firstName+ ' '+lastName
0
182
* def Address1 = 'Address1'
0
183
* def Address2 = 'Address2'
0
184
* def CityName = 'New York'
0
185
* def zipCode = '12345'
0
186
* def postalCode = '1234'
0
187
* def countryName = 'United States (US)'
0
188
* def emailId = 'automation@svam.com'
0
189
* def convictedOfCrime = '1'
0
190
* def percentageOfOwners = '20'
0
191
* def isFingerprintRequired = true
0
192
* def isFingerprintsApproved = true
0
193
* def isSignature = true
0
195
* def convictedOfCrime = '1'
0
196
* def PhoneNumber = '999-999-9999'
0
197
* def PhoneExtn = 1234
0
198
* def countryCode = '+91'
0
199
* def stateCode = 40
0
201
* def mainLicensePermitTypeId = 40
0
202
* def termInYears = 3
0
203
* def termDesc = 3+' Year (s)'
0
204
* def licenseFees = 960
0
205
* def fillingFees = 100
0
206
* def licAncillaryFees = 0
0
207
* def renewalFees = 30+''
0
208
* string productName = 'RestaurantBeer'+''
0
210
* def CountyId = 1
0
211
* def CountyName = 'New York'
0
212
* def totalFees = licenseFees+fillingFees+licAncillaryFees
0
213
* def splittedCityName = CityName.replaceAll(" ","")
0
215
* call read('LicensesCommonMethods.feature@IntakeLicensewithoutAssociatedLic') {}
2730
>>
karate.UseCases.LicensesCommonMethods
2174
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* App Intake *********************
290
* call read('LicensesCommonMethods.feature@GetCountyList') {}
1402
>>
karate.UseCases.LicensesCommonMethods
737
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
117
Given path '/internalapi/api/reference'
0
118
* def dbSts = db.cleanHeap()
585
119
And header authorization = 'Bearer ' + strToken
0
120
And header Content-Type = 'application/json;charset=utf-8'
0
121
And header Accept = 'text/plain'
1
# * def query = {name:countyzone&onlyActives:true}
123
And params {name:countyzone,onlyActives:true}
0
#And param onlyActives='true'
125
And request {}
0
126
When method get
147
20:39:39.459 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/reference?name=countyzone&onlyActives=true
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
1 > Content-Type: application/json;charset=utf-8
1 > Accept: text/plain
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:39:39.605 response time in milliseconds: 145
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:39 GMT
1 < Content-Length: 11712
{"values":[{"CountyId":1,"County":"New York","ShortName":"NEW","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T00:00:00","ModifiedBy":"esandoval","ModifiedDate":"2020-11-10T11:30:56.047"},{"CountyId":2,"County":"Kings","ShortName":"KING","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":3,"County":"Bronx","ShortName":"BRON","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":4,"County":"Queens","ShortName":"QUEE","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":5,"County":"Richmond","ShortName":"RICH","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":6,"County":"Nassau","ShortName":"NASS","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":7,"County":"Suffolk","ShortName":"SUFF","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":8,"County":"Westchester","ShortName":"WEST","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":9,"County":"Orange","ShortName":"ORAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":10,"County":"Putnam","ShortName":"PUTN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":11,"County":"Rockland","ShortName":"ROCK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":12,"County":"Albany","ShortName":"ALBA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":13,"County":"Clinton","ShortName":"CLIN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":14,"County":"Columbia","ShortName":"COLU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":15,"County":"Dutchess","ShortName":"DUTC","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":16,"County":"Essex","ShortName":"ESSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":17,"County":"Franklin","ShortName":"FRAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":18,"County":"Fulton","ShortName":"FULT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":19,"County":"Greene","ShortName":"GREE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":20,"County":"Hamilton","ShortName":"HAMI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":21,"County":"Montgomery","ShortName":"MONT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":22,"County":"Rensselaer","ShortName":"RENS","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":23,"County":"Saratoga","ShortName":"SARA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":24,"County":"Schenectady","ShortName":"SCHE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":25,"County":"Schoharie","ShortName":"SCHO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":26,"County":"Sullivan","ShortName":"SULL","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":27,"County":"Ulster","ShortName":"ULST","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":28,"County":"Warren","ShortName":"WARR","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":29,"County":"Washington","ShortName":"WASH","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":30,"County":"Allegany","ShortName":"ALLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":31,"County":"Cattaraugus","ShortName":"CATT","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":32,"County":"Chautauqua","ShortName":"CHAU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":33,"County":"Chemung","ShortName":"CHEM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":34,"County":"Erie","ShortName":"ERIE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":35,"County":"Genesee","ShortName":"GENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":36,"County":"Livingston","ShortName":"LIVI","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":37,"County":"Monroe","ShortName":"MONR","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":38,"County":"Niagara","ShortName":"NIAG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":39,"County":"Ontario","ShortName":"ONTA","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":40,"County":"Orleans","ShortName":"ORLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":41,"County":"Schuyler","ShortName":"SCHU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":42,"County":"Seneca","ShortName":"SENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":43,"County":"Steuben","ShortName":"STEU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":44,"County":"Wayne","ShortName":"WAYN","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":45,"County":"Wyoming","ShortName":"WYOM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":46,"County":"Yates","ShortName":"YATE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":47,"County":"Broome","ShortName":"BROO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":48,"County":"Chenango","ShortName":"CHEN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":49,"County":"Cortland","ShortName":"CORT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":50,"County":"Delaware","ShortName":"DELA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":51,"County":"Herkimer","ShortName":"HERK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":52,"County":"Jefferson","ShortName":"JEFF","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":53,"County":"Lewis","ShortName":"LEWI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":54,"County":"Madison","ShortName":"MADI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":55,"County":"Oneida","ShortName":"ONEI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":56,"County":"Onondaga","ShortName":"ONON","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":57,"County":"Oswego","ShortName":"OSWE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":58,"County":"Otsego","ShortName":"OTSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":59,"County":"St. Lawrence","ShortName":"ST L","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":60,"County":"Cayuga","ShortName":"CAYU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":61,"County":"Tioga","ShortName":"TIOG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":62,"County":"Tompkins","ShortName":"TOMP","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.6","ModifiedBy":null,"ModifiedDate":null}],"name":"countyzone","schema":[{"columnName":"CountyId","dataType":"int","maxLenght":null,"isRequired":true},{"columnName":"County","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ShortName","dataType":"nvarchar","maxLenght":10,"isRequired":false},{"columnName":"ZoneNo","dataType":"int","maxLenght":null,"isRequired":false},{"columnName":"IsActive","dataType":"bit","maxLenght":null,"isRequired":false},{"columnName":"CreatedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"CreatedDate","dataType":"datetime","maxLenght":null,"isRequired":false},{"columnName":"ModifiedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ModifiedDate","dataType":"datetime","maxLenght":null,"isRequired":false}]}
127
* configure continueOnStepFailure = true
0
128
Then status 200
0
129
And def values = response.values
0
130
* configure continueOnStepFailure = true
0
291
* def countyData = karate.jsonPath(values, "$[?(@.CountyId == '" + CountyId + "')]")
0
292
* def countyZone = countyData[0].ZoneNo
0
293
And print countyZone
0
20:39:39.631 [print] 1
294
Given path '/internalapi/api/licensing/selectapptype/savenewlicenseapp'
0
295
* def dbSts = db.cleanHeap()
228
296
And header authorization = 'Bearer ' + strToken
0
297
And header Content-Type = 'application/json; charset=utf-8'
0
298
And header Accept = 'application/json; text/plain;*/*'
0
#* def CountysId = <countyIds>
# And print CountysId
#* string CountysName = <countynames>
# And print CountysName
#* def mainLicensePermitTypeId = <LicensePermitTypeId>
# And print mainLicensePermitTypeId
#* string ProductType = <ProductTypes>
#* string LicenseDescription = <LicDescription>
# And print ProductType
309
And request {"mainLicensePermitTypeId":'#(mainLicensePermitTypeId)',"newPermitTypeIds":[],"combinedCraftId":null,"masterFileId":null,"isApplicableForTempPermit":false,"isNotQualified":false,"isChainRestaurant":false,"addBarList":[],"countyId":'#(CountyId)',"isApplicantCurrentLicensed":false,"isExistingManufacturer":false,"selectedLicense":null,"isAssociatedTempPermit":false}
0
311
When method post
147
20:39:39.861 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/selectapptype/savenewlicenseapp
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 327
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"mainLicensePermitTypeId":40,"newPermitTypeIds":[],"combinedCraftId":null,"masterFileId":null,"isApplicableForTempPermit":false,"isNotQualified":false,"isChainRestaurant":false,"addBarList":[],"countyId":1,"isApplicantCurrentLicensed":false,"isExistingManufacturer":false,"selectedLicense":null,"isAssociatedTempPermit":false}
20:39:40.007 response time in milliseconds: 146
1 < 200
1 < Content-Length: 234
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:39 GMT
[{"childAppId":null,"mainApplicationId":"NA-0111-22-119163","childApplicationId":null,"licensePermitTypeId":40,"description":"Restaurant-Beer","parentApplicationId":"NA-0111-22-119163","parentAppId":14005,"appId":14005,"formId":1165}]
312
* configure continueOnStepFailure = true
0
313
Then status 200
0
315
And def ApplicationId = response[0].mainApplicationId
0
316
And print ApplicationId
0
20:39:40.008 [print] NA-0111-22-119163
317
And match ApplicationId contains 'NA-'
0
319
* def currentYear = '-'+getYearFunc()+'-'+countyZone
1
320
And match ApplicationId contains currentYear
0
321
And def description = response[0].description
0
323
And def appId = response[0].appId
0
325
* def formId = response[0].formId
0
326
* def FormVersionId = response[0].FormVersionId
0
328
Given path '/internalapi/api/application/preview/'+appId
0
329
* def dbSts = db.cleanHeap()
243
330
And header authorization = 'Bearer ' + strToken
0
331
And header Content-Type = 'application/json; charset=utf-8'
0
332
And header Accept = 'application/json; text/plain;*/*'
0
333
And configure continueOnStepFailure = true
0
334
And request {}
0
335
When method get
149
20:39:40.253 request:
2 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/14005
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > Content-Length: 2
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{}
20:39:40.401 response time in milliseconds: 148
2 < 200
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:09:39 GMT
2 < Content-Length: 185
{"applicationId":"NA-0111-22-119163","submitDate":null,"licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Draft"},"isLicenseApplication":true,"isPreFilled":false}
336
* configure continueOnStepFailure = true
0
337
Then status 200
0
338
And def licStatus = response.appStatus.statusDescription
0
339
And print licStatus
0
20:39:40.402 [print] Draft
340
And match licStatus == 'Draft'
0
216
* def CountyName = "New York"
0
217
* call read('LicensesCommonMethods.feature@FillAndSaveApplicantInformationPage') {county:'#(CountyName)'}
850
>>
karate.UseCases.LicensesCommonMethods
213
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
700
* def getDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
709
Given path '/internalapi/api/licensing/app/static/applicantinfo/save/'+appId
0
710
And header Content-Type = 'application/json; charset=utf-8'
0
712
* def autoFirstName = firstName + getDate()
0
713
* def legalName = autoFirstName + lastName
0
714
And header Accept = 'application/json; text/plain;*/*'
0
715
And header authorization = 'Bearer ' + strToken
0
716
And request {"businessInfo":{"website":null,"businessEntity":{"individualOrganization":'#(indOrgCode)',"corporateStructure":'#(CorporateStructureDropDownCode)',"firstName":'#(autoFirstName)',"lastName":'#(lastName)',"middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":'#(legalName)',"id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":'#(IndOrgSelectionDropDown)',"corporateStructureText":'#(CorporateStructureDropDown)',"isIndividual":'#(isIndStatus)'},"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"2","phoneTypeText":"Office","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
0
717
When method post
207
20:39:41.048 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/applicantinfo/save/14005
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
1 > Content-Length: 2167
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"businessInfo":{"website":null,"businessEntity":{"individualOrganization":1,"corporateStructure":1,"firstName":"Automation20221115203941","lastName":"Automation","middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":"Automation20221115203941Automation","id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":"Individual","corporateStructureText":"Individual","isIndividual":true},"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"2","phoneTypeText":"Office","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
20:39:41.255 response time in milliseconds: 206
1 < 200
1 < Content-Length: 2191
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:41 GMT
{"businessInfo":{"id":0,"website":null,"isLicensed":false,"isAssociated":false,"businessEntity":{"id":4028,"individualOrganization":"1","corporateStructure":1,"isEmployeeForSoleProprietor":null,"firstName":"Automation20221115203941","lastName":"Automation","middleName":"AutoMidName","ssn":"","fein":"","legalName":"Automation20221115203941Automation","suffix":"1","corporateStructureText":"Individual","individualOrganizationText":"Individual","isIndividual":true},"address":{"addressId":29502,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"US","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25410,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":7886,"phoneType":3,"countryCode":"91","phone":"999-999-9999","phoneExtension":"1234"}]}},"premisesInfo":{"id":13208,"dba":null,"countyId":1,"countyName":"New York","isDbaSearched":null,"isPremisesRequired":true,"licensePermitID":"","address":{"addressId":29503,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"US","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"NY","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25411,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":7887,"phoneType":2,"countryCode":"+91","phone":"999-999-9999","phoneExtension":"1234"}]}},"applicantDetail":{"id":9800,"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"isPhysicalChange":null,"applicantStatement":{"id":4341,"nameOfApplicant":null,"title":null,"signature":null,"date":null}}}
718
Then status 200
0
218
* call read('LicensesCommonMethods.feature@FillAndSavePrincipalPage') {}
829
>>
karate.UseCases.LicensesCommonMethods
178
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
745
* def getDate1 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
754
Given path '/internalapi/api/licensing/app/static/principal/save/'+appId
0
755
And header Content-Type = 'application/json; charset=utf-8'
0
756
* def prncipalName = firstName + getDate1()
0
757
* def dt = licDate()
0
758
And header Accept = 'application/json; text/plain;*/*'
0
759
And header authorization = 'Bearer ' + strToken
0
760
And request {"entities":[],"principals":[{"principalId":0,"convictedOfCrime":'#(convictedOfCrime)',"percentageOfOwners":'#(percentageOfOwners)',"isFingerprintRequired":'#(isFingerprintRequired)',"isFingerprintsApproved":'#(isFingerprintsApproved)',"title":"15","numberOfShares":"","isSignature":false,"date":'#(dt)',"address":{"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"stateId":'#(stateCode)',"county":'#(CountyName)',"city":"New York","zipCode":'#(zipCode)',"zip4":'#(postalCode)',"country":'#(countryName)',"stateName":'#(CityName)',"countryId":229,"zip":'#(zipCode)'},"person":{"personId":0,"firstName":'#(prncipalName)',"middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":'#(dt)',"age":"","choosedEntity":null,"ssnFormat":"","suffixText":"JR"},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":'#(emailId)',"confirmEmail":'#(emailId)'},"titleText":"Vice President","convictedOfCrimeText":"No","disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
0
# {"entities":[],"principals":[{"principalId":0,"convictedOfCrime":"" ,"percentageOfOwners":"" ,"isFingerprintRequired":true ,"isFingerprintsApproved":true ,"title":"","dcjsFingerPrintStatus":"","numberOfShares":"","isSignature":"","date":"","address":{"addressLine1":"","addressLine2":"","stateId":40,"county":"","city":"","zipCode":"","zip4":"","country":"United States (US)","stateName":"New York","countryId":229,"zip":""},"person":{"personId":0,"firstName":"XA","middleName":"","lastName":"sa","suffix":"","socialSecurityNo":"","birthDate":"","age":"","choosedEntity":null,"ssnFormat":""},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":null,"confirmEmail":null},"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
762
When method post
175
20:39:41.905 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/principal/save/14005
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
1 > Content-Length: 1107
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"entities":[],"principals":[{"principalId":0,"convictedOfCrime":"1","percentageOfOwners":"20","isFingerprintRequired":true,"isFingerprintsApproved":true,"title":"15","numberOfShares":"","isSignature":false,"date":"2022-11-15T20:39:41.905Z","address":{"addressLine1":"Address1","addressLine2":"Address2","stateId":40,"county":"New York","city":"New York","zipCode":"12345","zip4":"1234","country":"United States (US)","stateName":"New York","countryId":229,"zip":"12345"},"person":{"personId":0,"firstName":"Automation20221115203941","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T20:39:41.905Z","age":"","choosedEntity":null,"ssnFormat":"","suffixText":"JR"},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":"automation@svam.com","confirmEmail":"automation@svam.com"},"titleText":"Vice President","convictedOfCrimeText":"No","disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
20:39:42.079 response time in milliseconds: 174
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:41 GMT
1 < Content-Length: 1390
{"entities":[],"principals":[{"principalId":3328,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":true,"isFingerprintsApproved":true,"percentageOfOwners":20.0,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","entities":null,"numberOfShares":"","isSignature":false,"isRemove":false,"date":"2022-11-15T00:00:00","convictedOfCrime":"1","title":"15","isLicensed":false,"isAssociated":false,"person":{"personId":5645,"firstName":"Automation20221115203941","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T00:00:00","serialNo":0,"age":0,"choosedEntity":[]},"address":{"addressId":29504,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25412,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}}]}
763
Then status 200
0
219
* call read('LicensesCommonMethods.feature@FillAndSaveRepresentativePage') {}
741
>>
karate.UseCases.LicensesCommonMethods
148
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
0
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Representative *********************
790
Given path '/internalapi/api/licensing/app/static/rep/save/'+appId
0
791
And header authorization = 'Bearer ' + strToken
0
792
And request {"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":'#(CountyName)',"city":'#(CityName)',"zipCode":"10011","country":"United States (US)","stateName":'#(CityName)',"countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
0
793
When method post
146
20:39:42.688 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/rep/save/14005
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 897
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"id":0,"contactType":"1","otherContactType":null,"selfCertified":null,"nysRegistrationNumber":null,"areYouBeingCompensated":null,"otherDescription":"Test Desc","subjectOfAppearance":null,"compensationType":null,"address":{"addressLine1":"1 wall street","addressLine2":"","county":"New York","city":"New York","zipCode":"10011","country":"United States (US)","stateName":"New York","countryId":229,"stateId":40},"isSelfCertifiedApplication":null,"person":{"personId":"0","isIndividualsPartnersAssociatedWithEntity":"","firstName":"Automation","middleName":"","lastName":"Automation","suffix":"","socialSecurityNo":"","birthDate":"","email":"","age":"","choosedEntity":""},"communication":{"email":"sbandi@svam.com","confirmEmail":"sbandi@svam.com","phones":[],"id":0},"phoneDetails":{"phoneType":"","countryCode":"","phone":"","phoneExtension":"","phoneId":0},"contactTypeText":"","isLicensed":""}
20:39:42.834 response time in milliseconds: 146
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:42 GMT
1 < Content-Length: 4
true
794
Then status 200
0
795
And def serverResponse = response
0
220
* call read('LicensesCommonMethods.feature@FillAndSaveMethodOfOperationPage') {}
780
>>
karate.UseCases.LicensesCommonMethods
189
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
6389
* def getDate1 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
6398
Given path '/internalapi/api/licensing/app/save'
0
6399
And header Content-Type = 'application/json; charset=utf-8'
0
6400
* def prncipalName = firstName + getDate1()
0
6401
* def dt = licDate()
0
6402
And header Accept = 'application/json; text/plain;*/*'
0
6403
And header authorization = 'Bearer ' + strToken
0
6404
And request {"isApproved":false,"appId":'#(appId)',"formID":1165,"applicationID":"","formName":"","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":1,"formCategory":{},"formCategoryId":1,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and Policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1993,"key":"","label":"Will the business employ a manager?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1994,"key":"","label":"If no, will the principals manage?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1995,"key":"","label":"If Premises is not a caterer establishment, will the premises periodically close to host private events?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1996,"key":"","label":"If Yes, How Frequently?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"Yes","fieldID":1997,"key":"","label":"Will the premises have music?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1998,"key":"","label":"If Live Music, Give Details","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1999,"key":"","label":"Will the premises use the service of an event promoter?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":2000,"key":"","label":"Will the Premises Permit Dancing?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2001,"key":"","label":"Will there be exotic dancing, including but not limited to topless entertainment, pole dancing and or lap dancing?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":2002,"key":"","label":"Will there be topless entertainment?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":16,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2003,"key":"","label":"Will Security Personnel be used at the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":17,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2004,"key":"","label":"How many?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":18,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2005,"key":"","label":"Provide your proprietary security guard employer unique Identification number assigned to the business by the NYS Department of State Division of Licensing Services or the name of the security company through which the security personnel will be hired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":19,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2006,"key":"","label":"Provide a detailed plan of supervision for the premises to be licensed. Clearly describe how you will maintain control and order over the licensed premises. How will you monitor alcohol sales and prevent sales to minors and sales to intoxicated persons? How will you handle unruly patrons, altercations, etc., to prevent the premises from becoming disorderly?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":20,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":2007,"key":"","label":"Are all responses provided in the application consistent with the information provided to the municipality or community board within the standardized notice form for providing thirty day advance notice","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":21,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2008,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":22,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"4","fieldID":2051,"key":"","label":"If Yes, check all that apply","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2052,"key":"","label":"Who will be permitted to dance?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"Method_of_Operation","key":"0","label":"Method Of Operation","order":11,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isStatic":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"parentSection":"","subSections":[],"sectionFieldOrders":[],"address":{"addressLine1":"","addressLine2":"","stateId":null,"county":"","city":"","zipCode":"","zip4":"","country":"United States (US)","stateName":"","countryId":229}}],"formVersionId":1699,"version":25,"licenseDescription":"Restaurant-Beer","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"showAbcOfficer":false,"showCorpChange":false,"showEndorsement":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant_Information","Principal","Representative","Landlord_Identification","Personal_Questionnaire"],"showPQ":true,"showCC":false,"showManuOnPrem":false,"licPermitTypeId":40,"tabVisitied":{"Applicant Information":false,"Principal":false,"Representative":false,"Landlord Identification":false,"Personal Questionnaire":false}}
0
6406
When method post
186
20:39:43.430 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
1 > Content-Length: 12993
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":14005,"formID":1165,"applicationID":"","formName":"","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":1,"formCategory":{},"formCategoryId":1,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and Policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1993,"key":"","label":"Will the business employ a manager?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1994,"key":"","label":"If no, will the principals manage?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1995,"key":"","label":"If Premises is not a caterer establishment, will the premises periodically close to host private events?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1996,"key":"","label":"If Yes, How Frequently?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"Yes","fieldID":1997,"key":"","label":"Will the premises have music?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1998,"key":"","label":"If Live Music, Give Details","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":1999,"key":"","label":"Will the premises use the service of an event promoter?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":2000,"key":"","label":"Will the Premises Permit Dancing?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2001,"key":"","label":"Will there be exotic dancing, including but not limited to topless entertainment, pole dancing and or lap dancing?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":2002,"key":"","label":"Will there be topless entertainment?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":16,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2003,"key":"","label":"Will Security Personnel be used at the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":17,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2004,"key":"","label":"How many?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":18,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2005,"key":"","label":"Provide your proprietary security guard employer unique Identification number assigned to the business by the NYS Department of State Division of Licensing Services or the name of the security company through which the security personnel will be hired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":19,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2006,"key":"","label":"Provide a detailed plan of supervision for the premises to be licensed. Clearly describe how you will maintain control and order over the licensed premises. How will you monitor alcohol sales and prevent sales to minors and sales to intoxicated persons? How will you handle unruly patrons, altercations, etc., to prevent the premises from becoming disorderly?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":20,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"No","fieldID":2007,"key":"","label":"Are all responses provided in the application consistent with the information provided to the municipality or community board within the standardized notice form for providing thirty day advance notice","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":21,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2008,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":22,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"4","fieldID":2051,"key":"","label":"If Yes, check all that apply","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2052,"key":"","label":"Who will be permitted to dance?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"Method_of_Operation","key":"0","label":"Method Of Operation","order":11,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isStatic":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"parentSection":"","subSections":[],"sectionFieldOrders":[],"address":{"addressLine1":"","addressLine2":"","stateId":null,"county":"","city":"","zipCode":"","zip4":"","country":"United States (US)","stateName":"","countryId":229}}],"formVersionId":1699,"version":25,"licenseDescription":"Restaurant-Beer","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"showAbcOfficer":false,"showCorpChange":false,"showEndorsement":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant_Information","Principal","Representative","Landlord_Identification","Personal_Questionnaire"],"showPQ":true,"showCC":false,"showManuOnPrem":false,"licPermitTypeId":40,"tabVisitied":{"Applicant Information":false,"Principal":false,"Representative":false,"Landlord Identification":false,"Personal Questionnaire":false}}
20:39:43.615 response time in milliseconds: 185
1 < 200
1 < Content-Length: 51
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:42 GMT
{"appId":14005,"applicationId":"NA-0111-22-119163"}
6407
Then status 200
0
221
* call read('LicensesCommonMethods.feature@FeesValidation') {amount:'#(totalFees)'}
2844
>>
karate.UseCases.LicensesCommonMethods
2040
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
810
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
820
* def futureDate = futureDateFunc()
2
822
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
832
* def date = getDate2()
1
834
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
835
And header Content-Type = 'application/json; charset=utf-8'
0
836
And header Accept = 'application/json; text/plain;*/*'
0
837
And header authorization = 'Bearer ' + strToken
0
838
And request {}
0
839
When method get
241
20:39:44.422 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/14005
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:39:44.662 response time in milliseconds: 240
1 < 200
1 < Content-Length: 658
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:44 GMT
[{"licenseName":"Restaurant - Beer","applicationId":"NA-0111-22-119163","applicationTypeId":1,"appFeesId":0,"appId":14005,"feesRefId":6039,"initialFees":0.0,"licensingFees":960.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":100.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":false,"isBondRequired":true,"bondFee":1000.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
840
Then status 200
0
841
And def serverResponse = response
0
842
* def licTerm = serverResponse[0].term
0
843
* def licFees = serverResponse[0].licensingFees+''
0
844
* def licTermDesc = serverResponse[0].termDesc
0
845
* def licFeesRefId = serverResponse[0].feesRefId
0
846
* def licAncillaryFees = serverResponse[0].ancillaryFees+''
0
847
* def licfilingFees = serverResponse[0].filingFees+''
0
848
* def licInitialFees = serverResponse[0].initialFees
0
849
* def bndFees = serverResponse[0].bondFee
0
850
* def isBondRequired = serverResponse[0].isBondRequired
0
851
And def totalFees = serverResponse[0].licensingFees+serverResponse[0].filingFees
0
852
And print totalFees
0
20:39:44.665 [print] 1060.0
855
Given path '/internalapi/api/notification/SaveNotification'
0
857
And header Content-Type = 'application/json; charset=utf-8'
0
858
And header Accept = 'application/json; text/plain;*/*'
0
859
And header authorization = 'Bearer ' + strToken
0
860
And request {"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}
0
861
When method post
154
20:39:44.667 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/notification/SaveNotification
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
2 > Content-Length: 2006
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":14005,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14005,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14005,"createdBy":"Tarun Gupta"}
20:39:44.819 response time in milliseconds: 152
2 < 200
2 < Content-Length: 5
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:09:44 GMT
false
862
Then status 200
0
863
And print response
0
20:39:44.820 [print] false
# And header Content-Type = 'application/json; charset=utf-8'
869
Given path 'internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
871
And header Accept = 'application/json; text/plain;*/*'
0
872
And header authorization = 'Bearer ' + strToken
0
874
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(amount)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(licTerm)',"termDesc":'#(licTermDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
1
875
When method post
250
20:39:44.823 request:
3 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/14005/false
3 > Accept: application/json; text/plain;*/*
3 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
3 > Content-Type: application/json; charset=UTF-8
3 > Content-Length: 5071
3 > Host: slaleapqaapi.svam.com
3 > Connection: Keep-Alive
3 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
3 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":14005,"slaintakeDate":"2022-11-15T20:39:44.421Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T20:39:44.421Z","amount":1060}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-119163","applicationTypeId":1,"appFeesId":0,"appId":14005,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":1060.0,"filingFees":"100","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T20:39:44.415Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":14005,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14005,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14005,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":14005,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14005,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14005,"createdBy":"Tarun Gupta"},"taskId":null}
20:39:45.071 response time in milliseconds: 248
3 < 200
3 < Content-Type: application/json; charset=utf-8
3 < Server: Microsoft-IIS/10.0
3 < Strict-Transport-Security: max-age=2592000
3 < X-Powered-By: ASP.NET
3 < Date: Tue, 15 Nov 2022 15:09:44 GMT
3 < Content-Length: 4
true
876
Then status 200
0
878
Given path 'internalapi/api/licensing/fees/check-payments/get/'+appId
0
879
And header authorization = 'Bearer ' + strToken
0
880
And request {}
0
881
When method get
165
20:39:45.073 request:
4 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/check-payments/get/14005
4 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
4 > Content-Type: application/json; charset=UTF-8
4 > Content-Length: 2
4 > Host: slaleapqaapi.svam.com
4 > Connection: Keep-Alive
4 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
4 > Accept-Encoding: gzip,deflate
{}
20:39:45.236 response time in milliseconds: 163
4 < 200
4 < Content-Type: application/json; charset=utf-8
4 < Server: Microsoft-IIS/10.0
4 < Strict-Transport-Security: max-age=2592000
4 < X-Powered-By: ASP.NET
4 < Date: Tue, 15 Nov 2022 15:09:44 GMT
4 < Content-Length: 442
[{"checkDetailId":2403,"appId":14005,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T00:00:00","slaintakeDate":"2022-11-15T00:00:00","amount":1060.0000,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T10:09:45.063","modifiedBy":null,"modifiedDate":null}]
882
Then status 200
0
883
And def checkDetailId = response[0].checkDetailId
0
884
And print checkDetailId
0
20:39:45.237 [print] 2403
885
* def amount = response[0].amount
0
886
* def underpaidAmount = totalFees-amount
0
888
And print 'underpaidAmount- ',underpaidAmount
0
20:39:45.237 [print] underpaidAmount- 0.0
890
Given path '/internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
891
And header Content-Type = 'application/json; charset=utf-8'
0
892
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
903
* def futureDate = futureDateFunc()
2
904
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
913
* def date = getDate2()
1
915
And header Accept = 'application/json; text/plain;*/*'
0
916
And header authorization = 'Bearer ' + strToken
0
917
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(totalFees)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":'#(licInitialFees)',"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees)',"totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":'#(licAncillaryFees)',"isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
1
920
When method post
216
20:39:45.244 request:
5 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/14005/false
5 > Content-Type: application/json; charset=utf-8
5 > Accept: application/json; text/plain;*/*
5 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
5 > Content-Length: 5068
5 > Host: slaleapqaapi.svam.com
5 > Connection: Keep-Alive
5 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
5 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":14005,"slaintakeDate":"2022-11-15T20:39:45.241Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T20:39:45.241Z","amount":1060.0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-119163","applicationTypeId":1,"appFeesId":0,"appId":14005,"feesRefId":6039,"initialFees":0.0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"30","totalFees":1060.0,"filingFees":"100","ancillaryFees":"0","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-11-22T20:39:44.415Z","emailNotificationDetail":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":14005,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14005,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14005,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":14005,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14005,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14005,"createdBy":"Tarun Gupta"},"taskId":null}
20:39:45.459 response time in milliseconds: 215
5 < 200
5 < Content-Type: application/json; charset=utf-8
5 < Server: Microsoft-IIS/10.0
5 < Strict-Transport-Security: max-age=2592000
5 < X-Powered-By: ASP.NET
5 < Date: Tue, 15 Nov 2022 15:09:44 GMT
5 < Content-Length: 4
true
921
Then status 200
0
# ********* SAVE Application Details To Save *********************
928
Given path '/internalapi/api/licensing/app/save'
0
929
And header authorization = 'Bearer ' + strToken
0
930
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
3
931
When method post
266
20:39:45.468 request:
6 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
6 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
6 > Content-Type: application/json; charset=UTF-8
6 > Content-Length: 30721
6 > Host: slaleapqaapi.svam.com
6 > Connection: Keep-Alive
6 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
6 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":14005,"formID":1165,"applicationID":"NA-0111-22-119163","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
20:39:45.728 response time in milliseconds: 260
6 < 200
6 < Content-Length: 51
6 < Content-Type: application/json; charset=utf-8
6 < Server: Microsoft-IIS/10.0
6 < Strict-Transport-Security: max-age=2592000
6 < X-Powered-By: ASP.NET
6 < Date: Tue, 15 Nov 2022 15:09:45 GMT
{"appId":14005,"applicationId":"NA-0111-22-119163"}
932
Then status 200
0
935
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
936
And header authorization = 'Bearer ' + strToken
0
937
And header Content-Type = 'application/json; charset=utf-8'
0
938
And header Accept = 'application/json; text/plain;*/*'
0
939
And request ""
0
940
When method get
225
20:39:45.730 request:
7 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/14005
7 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
7 > Content-Type: application/json; charset=utf-8
7 > Accept: application/json; text/plain;*/*
7 > Content-Length: 0
7 > Host: slaleapqaapi.svam.com
7 > Connection: Keep-Alive
7 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
7 > Accept-Encoding: gzip,deflate
20:39:45.954 response time in milliseconds: 224
7 < 200
7 < Content-Length: 660
7 < Content-Type: application/json; charset=utf-8
7 < Server: Microsoft-IIS/10.0
7 < Strict-Transport-Security: max-age=2592000
7 < X-Powered-By: ASP.NET
7 < Date: Tue, 15 Nov 2022 15:09:45 GMT
[{"licenseName":"Restaurant - Beer","applicationId":"NA-0111-22-119163","applicationTypeId":1,"appFeesId":3136,"appId":14005,"feesRefId":6039,"initialFees":0.0,"licensingFees":960.00,"amendmentFees":0.0,"renewalFees":0.0,"totalFees":0.0,"filingFees":100.00,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
941
Then status 200
0
942
And print response[0].appFeesId
0
20:39:45.955 [print] 3136
943
And def appFeesId1 = response[0].appFeesId
0
944
And def feesRefId1 = response[0].feesRefId
0
945
And print appFeesId1
0
20:39:45.955 [print] 3136
946
And print feesRefId1
0
20:39:45.955 [print] 6039
947
And def applicationTypeId = response[0].applicationTypeId
0
948
And print applicationTypeId
0
20:39:45.956 [print] 1
# ********* Save PAYMENT *********************
951
Given path '/internalapi/api/licensing/fees/details/save/'+appId +'/false'
0
953
* def slaDate = licFeesDate()
1
954
* def slaaDate = licDate()
0
955
* def licInitialFees1 = licInitialFees+''
0
956
And print licInitialFees1
0
20:39:45.957 [print] 0
957
* def renewalFees1 = renewalFees+''
0
958
And print renewalFees1
0
20:39:45.958 [print] 30
959
* def totalFees1 = totalFees+''
0
961
And print totalFees1
0
20:39:45.958 [print] 1060
962
* def licAncillaryFees1 = licAncillaryFees+''
0
963
* def licfilingFees1 = licfilingFees+''
0
965
And header authorization = 'Bearer ' + strToken
0
966
And request {"checks":[{"checkDetailId":'#(checkDetailId)',"appId":'#(appId)',"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":'#(date)',"slaintakeDate":'#(date)',"amount":'#(amount)',"appliedTo":null,"amountUsed":'#(amount)',"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":'#(date)',"modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":'#(licFeesRefId)',"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":"0.00","totalFees":'#(totalFees1)',"filingFees":'#(licfilingFees1)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(underpaidAmount)',"amountReceived":'#(amount)',"waivedComment":null,"isBondReceived":'#(isBondRequired)',"isBondRequired":'#(isBondRequired)',"bondFee":'#(bndFees)',"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":'#(appId)',"checkDetailId":'#(checkDetailId)',"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":'#(amount)',"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":'#(fundDueDate)',"emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
971
When method post
199
20:39:45.959 request:
8 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/14005/false
8 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
8 > Content-Type: application/json; charset=UTF-8
8 > Content-Length: 5458
8 > Host: slaleapqaapi.svam.com
8 > Connection: Keep-Alive
8 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
8 > Accept-Encoding: gzip,deflate
{"checks":[{"checkDetailId":2403,"appId":14005,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T20:39:45.241Z","slaintakeDate":"2022-11-15T20:39:45.241Z","amount":1060.0,"appliedTo":null,"amountUsed":1060.0,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T20:39:45.241Z","modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"NA-0111-22-119163","applicationTypeId":1,"appFeesId":6039,"appId":14005,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":"1060","filingFees":"100","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":1060.0,"waivedComment":null,"isBondReceived":true,"isBondRequired":true,"bondFee":1000.0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":14005,"checkDetailId":2403,"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":1060.0,"amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":"2022-11-22T20:39:44.415Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":14005,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14005,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14005,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":14005,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14005,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14005,"createdBy":"Tarun Gupta"},"taskId":null}
20:39:46.157 response time in milliseconds: 198
8 < 200
8 < Content-Length: 4
8 < Content-Type: application/json; charset=utf-8
8 < Server: Microsoft-IIS/10.0
8 < Strict-Transport-Security: max-age=2592000
8 < X-Powered-By: ASP.NET
8 < Date: Tue, 15 Nov 2022 15:09:45 GMT
true
972
Then status 200
0
973
And print response
0
20:39:46.157 [print] true
# ********* SAVE Application Details To Save *********************
978
Given path '/internalapi/api/licensing/app/save'
0
979
And header authorization = 'Bearer ' + strToken
0
980
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":'#(CityName)',"fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
981
When method post
300
20:39:46.160 request:
9 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
9 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
9 > Content-Type: application/json; charset=UTF-8
9 > Content-Length: 30721
9 > Host: slaleapqaapi.svam.com
9 > Connection: Keep-Alive
9 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
9 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":14005,"formID":1165,"applicationID":"NA-0111-22-119163","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1686,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
20:39:46.459 response time in milliseconds: 299
9 < 200
9 < Content-Length: 51
9 < Content-Type: application/json; charset=utf-8
9 < Server: Microsoft-IIS/10.0
9 < Strict-Transport-Security: max-age=2592000
9 < X-Powered-By: ASP.NET
9 < Date: Tue, 15 Nov 2022 15:09:45 GMT
{"appId":14005,"applicationId":"NA-0111-22-119163"}
982
Then status 200
0
983
And def serverResponse = response
0
223
* call read('LicensesCommonMethods.feature@SubmitLicenseAndValidateLicStatus') {expStatus:'Awaiting Review'}
7626
>>
karate.UseCases.LicensesCommonMethods
5327
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Application SUBMIT *********************
1099
Given path '/internalapi/api/licensing/app/submit'
0
1100
And header authorization = 'Bearer ' + strToken
0
1101
And request {"appId":'#(appId)',"wfType":null}
0
1102
When method post
274
20:39:48.748 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/submit
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 29
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"appId":14005,"wfType":null}
20:39:49.021 response time in milliseconds: 273
1 < 200
1 < Content-Length: 123
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:49 GMT
{"success":true,"submittedApps":[{"success":true,"taskId":0,"appId":14005,"applicationId":"NA-0111-22-119163","error":""}]}
1103
Then status 200
0
1104
And def serverResponse = response
0
1105
And match response.success == true
1
1106
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
5048
>>
karate.UseCases.LicensesCommonMethods
3271
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
3
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
3110
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
152
20:39:53.898 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/14005
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:39:54.049 response time in milliseconds: 151
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:54 GMT
1 < Content-Length: 216
{"applicationId":"NA-0111-22-119163","submitDate":"2022-11-15T10:09:48.913","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:39:54.050 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
224
* call read('LicensesCommonMethods.feature@AssignApplicationsToExaminer') {}
4470
>>
karate.UseCases.LicensesCommonMethods
2050
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* AssignApplicationsSaveDigestDataToExaminer *********************
1139
Given path '/internalapi/api/licensing/examiner/assignApplicationsToExaminer'
0
1140
And header authorization = 'Bearer ' + strToken
0
1141
And request [{"appId":'#(appId)',"examinerId":1069,"priority":"Normal"}]
0
1142
When method post
240
20:39:56.512 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner/assignApplicationsToExaminer
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 55
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"appId":14005,"examinerId":1069,"priority":"Normal"}]
20:39:56.752 response time in milliseconds: 240
1 < 200
1 < Content-Length: 5
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:56 GMT
false
1143
And def serverResponse = response
0
1144
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
1805
>>
karate.UseCases.LicensesCommonMethods
552
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
414
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
135
20:39:58.418 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/14005
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:39:58.552 response time in milliseconds: 134
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:58 GMT
1 < Content-Length: 216
{"applicationId":"NA-0111-22-119163","submitDate":"2022-11-15T10:09:48.913","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:39:58.553 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
0
225
* call read('LicensesCommonMethods.feature@ExaminerReviewApprovalToLB') {}
2914
>>
karate.UseCases.LicensesCommonMethods
2469
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Examiner Review Approval to LB *********************
1149
* def summisionDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS");
var date = new java.util.Date();
return sdf.format(date);
}
1157
Given path '/internalapi/api/licensing/examiner-review/SaveNewLicense'
0
1158
* def formatedSumbitDate = summisionDate()
0
1159
And header authorization = 'Bearer ' + strToken
0
1160
And header current-wfroleid = 4
0
1161
And request {"isFingerPrintsApproved":false,"isFingerPrintsRequired":false,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"application":{"applicationCategory":1,"appId":'#(appId)',"applicationId":'#(ApplicationId)',"licePermitTypeId":null,"applicationTypeId":1,"formVersionId":1231,"formId":'#(formId)',"legalName":'#(legalName)',"submitDate":'#(formatedSumbitDate)',"isGISRequired":null,"licenseDescription":'#(description)',"recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":'#(CityName)',"priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Awaiting Review","taskId":1026,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":null,"memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":1069,"appId":'#(appId)',"examinerId":1069,"name":null,"assignDate":'#(formatedSumbitDate)',"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":'#(mainLicensePermitTypeId)',"type":"1","category":"1","product":'#(productName)',"class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":'#(mainLicensePermitTypeId)',"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":'#(formatedSumbitDate)'},"appId":'#(appId)',"notificationTypeId":2028,"applicationType":1,"decisionType":{"name":"Send to Licensing Board","value":2},"emailNotificationModel":{"applicant":{},"attorney":{},"communityBoard":{},"other":{}},"hasErrors":[],"taskId":1026,"newComments":"","recommendedDecisionId":null};
0
1162
When method post
660
20:39:59.005 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner-review/SaveNewLicense
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
1 > current-wfroleid: 4
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 3055
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"isFingerPrintsApproved":false,"isFingerPrintsRequired":false,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"application":{"applicationCategory":1,"appId":14005,"applicationId":"NA-0111-22-119163","licePermitTypeId":null,"applicationTypeId":1,"formVersionId":1231,"formId":1165,"legalName":"Automation20221115203941Automation","submitDate":"2022-11-15T20:39:59.004","isGISRequired":null,"licenseDescription":"Restaurant-Beer","recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":"New York","priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Awaiting Review","taskId":1026,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":null,"memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":1069,"appId":14005,"examinerId":1069,"name":null,"assignDate":"2022-11-15T20:39:59.004","isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":40,"type":"1","category":"1","product":"RestaurantBeer","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":40,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":"2022-11-15T20:39:59.004"},"appId":14005,"notificationTypeId":2028,"applicationType":1,"decisionType":{"name":"Send to Licensing Board","value":2},"emailNotificationModel":{"applicant":{},"attorney":{},"communityBoard":{},"other":{}},"hasErrors":[],"taskId":1026,"newComments":"","recommendedDecisionId":null}
20:39:59.664 response time in milliseconds: 659
1 < 200
1 < Content-Length: 4
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:09:58 GMT
true
1163
Then status 200
0
1164
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
1806
>>
karate.UseCases.LicensesCommonMethods
1310
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
1160
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
147
20:40:01.319 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/14005
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:40:01.466 response time in milliseconds: 147
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:10:01 GMT
1 < Content-Length: 216
{"applicationId":"NA-0111-22-119163","submitDate":"2022-11-15T10:09:48.913","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:40:01.466 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
0
226
* call read('LicensesCommonMethods.feature@LBClaimingQueue') {}
5755
>>
karate.UseCases.LicensesCommonMethods
5307
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* LB Claiming Queue *********************
1249
Given path 'internalapi/api/licensing/claiming-queue/add/'+appId +'/1069'
0
1250
And header authorization = 'Bearer ' + strToken
0
1251
And header current-wfroleid = 5
0
1252
And request {}
0
1253
When method post
178
20:40:01.923 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/claiming-queue/add/14005/1069
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
1 > current-wfroleid: 5
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:40:02.101 response time in milliseconds: 177
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:10:01 GMT
1 < Content-Length: 4
true
1254
Then status 200
0
1255
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
5125
>>
karate.UseCases.LicensesCommonMethods
4598
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
1338
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
3258
20:40:03.965 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/14005
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:40:07.219 response time in milliseconds: 3254
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:10:07 GMT
1 < Content-Length: 216
{"applicationId":"NA-0111-22-119163","submitDate":"2022-11-15T10:09:48.913","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:40:07.220 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
227
* def expirationDate = fundDueDateFunc(10)
1
228
* call read('LicensesCommonMethods.feature@LBApprovalWithDueDate') {approvalName:'Approved', expStatus:'Approved'}
1884
>>
karate.UseCases.LicensesCommonMethods
1373
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* LB Approval *********************
2346
Given path '/internalapi/api/licensing/search/GetEmailNotificationByAppIdAndNotificationTypeId/'+appId+'/0'
0
2347
And header authorization = 'Bearer ' + strToken
0
2348
And request ''
0
2349
When method get
180
20:40:07.738 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/search/GetEmailNotificationByAppIdAndNotificationTypeId/14005/0
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
1 > Content-Type: text/plain; charset=UTF-8
1 > Content-Length: 0
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
20:40:07.917 response time in milliseconds: 179
1 < 200
1 < Content-Length: 1959
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:10:07 GMT
{"applicant":{"communicationId":25410,"email":"automation@svam.com","appId":14005,"emailContactTypeId":1,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":25413,"email":"sbandi@svam.com","appId":14005,"emailContactTypeId":2,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":null,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null}}
2350
Then status 200
0
2351
And def serverResponse = response
0
2352
* def applicantCommId = serverResponse.applicant.communicationId
0
2353
* def attorneyCommId = serverResponse.attorney.communicationId
0
2355
Given path '/internalapi/api/licensing/new-license/saveDecision'
0
2356
And header authorization = 'Bearer ' + strToken
0
2357
And header current-wfroleid = 5
0
2358
* def getSelectedDecisionFunc =
0
function(value1){
if (value1 == 'Approved'){
return 1;
}
else if (value1 == 'Disapproved'){
return 2;
}
else if (value1 == 'Disapproval to Counsel'){
return 3;
}else if (value1 == 'Withdrawal'){
return 4;
}else if (value1 == 'Conditionally Approved'){
return 5;
}else if (value1 == 'FB Decision Required'){
return 6;
}else if (value1 == 'Return to Examiner'){
return 7;
}
else {
return 1;
}
}
2384
* def selectedDecisionCode = getSelectedDecisionFunc(approvalName)
2
2385
And print selectedDecisionCode
0
20:40:07.920 [print] 1
2386
And request {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"masterFileData":[],"combinedCraftData":[],"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":'#(legalName)',"statusId":3,"decisionType":{"name":'#(approvalName)',"value":'#(selectedDecisionCode)'},"emailNotificationModel":{"applicant":{},"attorney":{},"other":{"email":""}},"hasErrors":[],"taskId":1151,"newComments":"","approval":{"isDefineStipulations":false,"selectInput":{"fromFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":'#(effectiveDate)',"expirationDate":'#(expirationDate)',"stipulations":[],"descriptions":[]}}
0
2388
When method post
289
20:40:07.922 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/new-license/saveDecision
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
2 > current-wfroleid: 5
2 > Content-Type: application/json; charset=UTF-8
2 > Content-Length: 2479
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"masterFileData":[],"combinedCraftData":[],"appId":14005,"applicationType":1,"applicationId":"NA-0111-22-119163","legalName":"Automation20221115203941Automation","statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{},"attorney":{},"other":{"email":""}},"hasErrors":[],"taskId":1151,"newComments":"","approval":{"isDefineStipulations":false,"selectInput":{"fromFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":"2022-11-15","expirationDate":"2022-11-25T20:40:07.229Z","stipulations":[],"descriptions":[]}}
20:40:08.209 response time in milliseconds: 287
2 < 200
2 < Content-Length: 4
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:10:08 GMT
true
2389
Then status 200
0
2390
And def serverResponse = response
0
2391
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
899
>>
karate.UseCases.LicensesCommonMethods
355
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
205
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
146
20:40:08.950 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/14005
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:40:09.096 response time in milliseconds: 146
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:10:08 GMT
1 < Content-Length: 209
{"applicationId":"NA-0111-22-119163","submitDate":"2022-11-15T10:09:48.913","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Approved"},"isLicenseApplication":true,"isPreFilled":false}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:40:09.097 [print] Approved
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
229
* call read('LicensesCommonMethods.feature@ValidateLicenseApplicationStatus') {LicAppStatus:'Approved'}
786
>>
karate.UseCases.LicensesCommonMethods
219
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1326
Given path 'internalapi/api/GenericSearch/SearchLicense'
0
1327
And header Content-Type = 'application/json; charset=utf-8'
0
1328
And header Accept = 'application/json; text/plain;*/*'
0
1329
And header authorization = 'Bearer ' + strToken
0
1330
And params {page:1,pageSize:10}
1
1331
And request [{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":'#(ApplicationId)'}]
0
1332
When method post
214
20:40:09.686 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/GenericSearch/SearchLicense?pageSize=10&page=1
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
1 > Content-Length: 96
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"dataTypeValue":"Text","key":"ApplicationId","operatorValue":"=","value":"NA-0111-22-119163"}]
20:40:09.898 response time in milliseconds: 212
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:10:09 GMT
1 < Content-Length: 684
{"data":[{"acaId":14005,"acaType":"application","applicationLicenseId":"0111-22-129144","legacySerialNo":null,"legalName":"Automation20221115203941Automation","dba":null,"licenseDescription":"Restaurant-Beer","expirationDate":"2022-11-25T00:00:00","examinerAssigned":"Tarun Gupta","premisesAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","applicantAddress":"Address1 Address2 New York New York New York 12345 1234 United States (US)","feinSsn":"","formId":1165,"applicationId":"NA-0111-22-119163","licenseId":"0111-22-129144","wfRoleId":2,"applicationStatus":"Approved","licenseStatus":"Active"}],"total":1,"aggregateResults":null,"errors":null}
1333
Then status 200
0
1334
And print response
0
20:40:09.898 [print] {
"data": [
{
"acaId": 14005,
"acaType": "application",
"applicationLicenseId": "0111-22-129144",
"legacySerialNo": null,
"legalName": "Automation20221115203941Automation",
"dba": null,
"licenseDescription": "Restaurant-Beer",
"expirationDate": "2022-11-25T00:00:00",
"examinerAssigned": "Tarun Gupta",
"premisesAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"applicantAddress": "Address1 Address2 New York New York New York 12345 1234 United States (US)",
"feinSsn": "",
"formId": 1165,
"applicationId": "NA-0111-22-119163",
"licenseId": "0111-22-129144",
"wfRoleId": 2,
"applicationStatus": "Approved",
"licenseStatus": "Active"
}
],
"total": 1,
"aggregateResults": null,
"errors": null
}
1335
* match response.data[0].applicationStatus == '#(LicAppStatus)'
0
231
* call read('LicensesCommonMethods.feature@GetLicenseId') {}
519
>>
karate.UseCases.LicensesCommonMethods
154
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
3212
Given path '/internalapi/api/licensing/LBDecision/getLicenseByAppId/' + appId +'/-1'
0
3213
And header authorization = 'Bearer ' + strToken
0
3214
* def EffectiveDate = EffDate()
0
3215
And request {"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"masterFileData":[],"combinedCraftData":[],"appId":'#(appId)',"applicationType":1,"applicationId":'#(ApplicationId)',"legalName":null,"statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{},"attorney":{},"other":{"email":""}},"hasErrors":[],"taskId":1151,"newComments":"","approval":{"isDefineStipulations":false,"selectInput":{"fromFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":'#(EffectiveDate)',"expirationDate":'#(expiryDate)',"stipulations":[],"descriptions":[]}}
1
3216
When method get
148
20:40:10.262 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/LBDecision/getLicenseByAppId/14005/-1
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 2436
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"isSubmit":true,"isHoldForCB":false,"isWaiverReceived":false,"masterFileData":[],"combinedCraftData":[],"appId":14005,"applicationType":1,"applicationId":"NA-0111-22-119163","legalName":null,"statusId":3,"decisionType":{"name":"Approved","value":1},"emailNotificationModel":{"applicant":{},"attorney":{},"other":{"email":""}},"hasErrors":[],"taskId":1151,"newComments":"","approval":{"isDefineStipulations":false,"selectInput":{"fromFields":[{"id":1,"label":"Inside of premises closes at x"},{"id":2,"label":"Side walk café closes at x"},{"id":3,"label":"Backyard closes at x"},{"id":4,"label":"Alcohol consumption inside stops at X"},{"id":5,"label":"Alcohol consumption in backyard stops at x"},{"id":6,"label":"Alcohol consumption on sidewalk café stops at x"},{"id":7,"label":"No live music in inside of premises"},{"id":8,"label":"No live music outside of premise"},{"id":9,"label":"No DJs"},{"id":10,"label":"No promoters"},{"id":11,"label":"No Promoted events"},{"id":12,"label":"Recorded music only"},{"id":13,"label":"Music stops at X"},{"id":14,"label":"Music outside stops at X"},{"id":15,"label":"Only non-amplified music"},{"id":16,"label":"Acoustic music only"},{"id":17,"label":"No bar crawls"},{"id":18,"label":"Close façade doors at certain time"},{"id":19,"label":"Close Windows at a certain time"},{"id":20,"label":"No boozy brunches"},{"id":21,"label":"No unlimited drink"},{"id":22,"label":"No happy Hours"},{"id":23,"label":"No bottle service "},{"id":24,"label":"No dancing"},{"id":25,"label":"No delivery bikes"},{"id":26,"label":"No TVs"},{"id":27,"label":"Licensed patio"},{"id":28,"label":"Licensed sidewalk café"},{"id":29,"label":"No outside areas"},{"id":30,"label":"Security Guards required"},{"id":31,"label":"X amount of security guards per x amount of patrons"},{"id":32,"label":"# of security guards per patron"},{"id":33,"label":"No VIP"},{"id":34,"label":"No roped lines"},{"id":35,"label":"No hookah"},{"id":36,"label":"Doors closed at all times"},{"id":37,"label":"Windows closed at all time"},{"id":38,"label":"All agreed upon CB stipulations except"},{"id":39,"label":"All employees must be TIPS trained"}],"toFields":[],"isRewritable":true,"rewriteLabel":"Edit Stipulation:","srclabel":"Select Stipulations","dstlabel":"Add to Certificate","additionalLabel":"Add Additional Stipulations:"},"effectiveDate":"2022-11-15","expirationDate":"#(expiryDate)","stipulations":[],"descriptions":[]}}
20:40:10.409 response time in milliseconds: 147
1 < 200
1 < Content-Length: 2853
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:10:09 GMT
{"license":{"licId":1493,"applicationId":null,"licenseId":"0111-22-129144","licensePermitId":null,"licePermitTypeId":40,"appId":14005,"legacySerialNo":null,"issueDate":null,"expiryDate":"2025-10-31T00:00:00","effectiveDate":"2022-11-15T00:00:00","seasonalStartDate":null,"seasonalEndDate":null,"safeKeepingExpiryDate":null,"status":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"extTempPermitEnabled":false,"application":{"applicationCategory":null,"appId":null,"applicationId":null,"licePermitTypeId":null,"applicationTypeId":null,"formVersionId":null,"formId":null,"legalName":null,"submitDate":null,"isGISRequired":null,"licenseDescription":null,"recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":null,"priority":null,"expirationDate":null,"appStatusId":null,"taskStatus":null,"taskId":null,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":null,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":null,"memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":null,"isNotQualified":null,"eventDate":null,"appStatus":{"appStatusId":0,"statusDescription":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":null,"assignAppToLB":null,"licePermitType":null,"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":0,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"clericalName":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"isFairOrFestival":false,"isShowEffExpDateOnLBReview":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"options":null,"emailNotificationModel":null,"taskOptionsListNested":null,"days":0,"permit":null,"licPermitType":null,"licensePermitMapping":null,"licenseFee":null,"accountBalance":null,"licenseDescription":null,"isSeasonal":false,"isSummerSeasonal":false,"newExpiryDate":null,"amountDue":null,"originalLicenseFee":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"wfRoleId":0},"person":[],"totalRecord":0,"apps":[]}
3217
Then status 200
0
3218
And def serverResponse = response
0
3219
And print serverResponse
1
20:40:10.411 [print] {
"license": {
"licId": 1493,
"applicationId": null,
"licenseId": "0111-22-129144",
"licensePermitId": null,
"licePermitTypeId": 40,
"appId": 14005,
"legacySerialNo": null,
"issueDate": null,
"expiryDate": "2025-10-31T00:00:00",
"effectiveDate": "2022-11-15T00:00:00",
"seasonalStartDate": null,
"seasonalEndDate": null,
"safeKeepingExpiryDate": null,
"status": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null,
"extTempPermitEnabled": false,
"application": {
"applicationCategory": null,
"appId": null,
"applicationId": null,
"licePermitTypeId": null,
"applicationTypeId": null,
"formVersionId": null,
"formId": null,
"legalName": null,
"submitDate": null,
"isGISRequired": null,
"licenseDescription": null,
"recommendedDecisionId": null,
"status500": null,
"isApplicableForPDLetter": false,
"countyName": null,
"priority": null,
"expirationDate": null,
"appStatusId": null,
"taskStatus": null,
"taskId": null,
"currentWfstatus": null,
"communityBoard": null,
"isLicenseApplication": null,
"currentDueDate": null,
"isFinalDeficiency": null,
"isHighlyDeficient": null,
"isAllDeficienciesMet": null,
"pastDueDate": null,
"memo": null,
"isOneTimePermit": null,
"dueDateAction": null,
"isDisapprovedForCause": null,
"isNotQualified": null,
"eventDate": null,
"appStatus": {
"appStatusId": 0,
"statusDescription": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null
},
"applicationType": null,
"assignAppExaminer": null,
"assignAppToLB": null,
"licePermitType": null,
"assoApplicationList": [
],
"isTempPermit": null,
"isTempOrLiq": false,
"licPermitTypeId": 0,
"isAssociatedLicense": null,
"effectiveDate": null,
"assignedUserId": null,
"amendmentTypeId": null,
"amendmentType": null,
"disapprovedDate": null,
"condApprovedDate": null,
"addressId": null,
"isCaseOpen": null,
"isClosed": null,
"isCaseOpenSameAddress": null,
"isSpecialEventPlusFour": null,
"isSpecialEventInsideFiveBoroughs": null,
"licStatus": null,
"createdBy": null,
"clericalName": null,
"licenseId": null,
"address": null,
"isNybeApp": false,
"isHearingCompleted": null,
"does500FtHearingExist": null,
"parentAppStatus": null,
"premisesAppCount": 0,
"statusDescription": null,
"eventAddress": null,
"isFairOrFestival": false,
"isShowEffExpDateOnLBReview": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
"options": null,
"emailNotificationModel": null,
"taskOptionsListNested": null,
"days": 0,
"permit": null,
"licPermitType": null,
"licensePermitMapping": null,
"licenseFee": null,
"accountBalance": null,
"licenseDescription": null,
"isSeasonal": false,
"isSummerSeasonal": false,
"newExpiryDate": null,
"amountDue": null,
"originalLicenseFee": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"wfRoleId": 0
},
"person": [
],
"totalRecord": 0,
"apps": [
]
}
3220
And def licId = serverResponse.license.licId
0
3221
And def licenseId = serverResponse.license.licenseId
0
3222
And def ActEffDate = serverResponse.license.seasonalStartDate
0
3223
And def ActExpDate = serverResponse.license.expiryDate
0
3224
And print serverResponse
1
20:40:10.412 [print] {
"license": {
"licId": 1493,
"applicationId": null,
"licenseId": "0111-22-129144",
"licensePermitId": null,
"licePermitTypeId": 40,
"appId": 14005,
"legacySerialNo": null,
"issueDate": null,
"expiryDate": "2025-10-31T00:00:00",
"effectiveDate": "2022-11-15T00:00:00",
"seasonalStartDate": null,
"seasonalEndDate": null,
"safeKeepingExpiryDate": null,
"status": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null,
"extTempPermitEnabled": false,
"application": {
"applicationCategory": null,
"appId": null,
"applicationId": null,
"licePermitTypeId": null,
"applicationTypeId": null,
"formVersionId": null,
"formId": null,
"legalName": null,
"submitDate": null,
"isGISRequired": null,
"licenseDescription": null,
"recommendedDecisionId": null,
"status500": null,
"isApplicableForPDLetter": false,
"countyName": null,
"priority": null,
"expirationDate": null,
"appStatusId": null,
"taskStatus": null,
"taskId": null,
"currentWfstatus": null,
"communityBoard": null,
"isLicenseApplication": null,
"currentDueDate": null,
"isFinalDeficiency": null,
"isHighlyDeficient": null,
"isAllDeficienciesMet": null,
"pastDueDate": null,
"memo": null,
"isOneTimePermit": null,
"dueDateAction": null,
"isDisapprovedForCause": null,
"isNotQualified": null,
"eventDate": null,
"appStatus": {
"appStatusId": 0,
"statusDescription": null,
"isActive": null,
"createdBy": null,
"createdDate": null,
"modifiedBy": null,
"modifiedDate": null
},
"applicationType": null,
"assignAppExaminer": null,
"assignAppToLB": null,
"licePermitType": null,
"assoApplicationList": [
],
"isTempPermit": null,
"isTempOrLiq": false,
"licPermitTypeId": 0,
"isAssociatedLicense": null,
"effectiveDate": null,
"assignedUserId": null,
"amendmentTypeId": null,
"amendmentType": null,
"disapprovedDate": null,
"condApprovedDate": null,
"addressId": null,
"isCaseOpen": null,
"isClosed": null,
"isCaseOpenSameAddress": null,
"isSpecialEventPlusFour": null,
"isSpecialEventInsideFiveBoroughs": null,
"licStatus": null,
"createdBy": null,
"clericalName": null,
"licenseId": null,
"address": null,
"isNybeApp": false,
"isHearingCompleted": null,
"does500FtHearingExist": null,
"parentAppStatus": null,
"premisesAppCount": 0,
"statusDescription": null,
"eventAddress": null,
"isFairOrFestival": false,
"isShowEffExpDateOnLBReview": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskRoleId": 0,
"taskDecision": null,
"isActive": null,
"createdDate": null,
"modifiedBy": null,
"wfRoleId": 0,
"modifiedDate": null
},
"options": null,
"emailNotificationModel": null,
"taskOptionsListNested": null,
"days": 0,
"permit": null,
"licPermitType": null,
"licensePermitMapping": null,
"licenseFee": null,
"accountBalance": null,
"licenseDescription": null,
"isSeasonal": false,
"isSummerSeasonal": false,
"newExpiryDate": null,
"amountDue": null,
"originalLicenseFee": null,
"userName": null,
"userId": 0,
"currentRoleId": 0,
"tempGuid": null,
"applicationStatus": null,
"taskId": null,
"taskRoleId": 0,
"taskDecision": null,
"wfRoleId": 0
},
"person": [
],
"totalRecord": 0,
"apps": [
]
}
3225
And print 'licId : ' , licId
0
20:40:10.413 [print] licId : 1493
3226
And print 'licenseId : ' , licenseId
0
20:40:10.413 [print] licenseId : 0111-22-129144
3227
And match licId != []
0
3228
And match licenseId != []
0
232
And print licenseId
0
20:40:10.420 [print] 0111-22-129144
233
* def notQualifiedApplication = false
0
234
* def notQlfdAppMessage = ''
0
235
* def LicensePermitId = licenseId
0
236
* call read('RenewalCommonMethods.feature@IntakeRenewalLicense') {}
3405
>>
karate.UseCases.RenewalCommonMethods
2854
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def date = getDate2()
0
17
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
26
* def effectiveDate = effectiveDateFunc()
0
30
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
39
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
50
* def fundDueDate = fundDueDateFunc(7)
1
53
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
64
* def conditionDefinedDateFunction =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.00");
var date = new java.util.Date();
return sdf.format(date);
}
75
* def conditionDefinedDate = conditionDefinedDateFunction()
0
76
* def conditionDefinedDateFunctionwithAddedDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var date = new java.util.Date();
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
88
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
99
* def getRenewalReviewFunc =
0
function(reviewType){
if (reviewType == 'Send to Licensing Board'){
return 2;
}
else if (reviewType == 'Send to Full Board Preview Team'){
return 3;
}
else if (reviewType == 'Define Deficiencies'){
return 1;
}
}
169
Given path '/internalapi/api/licensing/search/searchLicensesAndPermits/'
0
170
And header Content-Type = 'application/json; charset=utf-8'
0
172
And header Accept = 'application/json; text/plain;*/*'
0
173
And header authorization = 'Bearer ' + strToken
0
176
And request {"WfTaskIdList":[],"LicenseStatusList":[19,45,40],"ShowLicensesAndPermits":true,"Status":null,"isTempPermit":null,"ApplicationId":null,"LicensePermitId":'#(licenseId)',"LegalName":null,"FEIN":null,"applyFor":""}
0
177
When method POST
231
20:40:10.961 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/search/searchLicensesAndPermits
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
1 > Content-Length: 213
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"WfTaskIdList":[],"LicenseStatusList":[19,45,40],"ShowLicensesAndPermits":true,"Status":null,"isTempPermit":null,"ApplicationId":null,"LicensePermitId":"0111-22-129144","LegalName":null,"FEIN":null,"applyFor":""}
20:40:11.192 response time in milliseconds: 231
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:10:11 GMT
1 < Content-Length: 1292
{"licenses":[{"lpId":1493,"licensePermitId":"0111-22-129144","licPermitTypeId":40,"isAccociatedLicense":false,"appId":14005,"mainAppId":14005,"status":"Active","legacySerialNo":null,"isLicense":true,"isPermit":null,"issueDate":"2022-11-15T00:00:00","expiryDate":"2022-11-25T00:00:00","effectiveDate":"2022-11-15T00:00:00","safeKeepingExpiryDate":null,"licensePermitStatusId":19,"combinedCraftId":null,"masterFileId":null,"isApplicableForTransfer":null,"surrenderDate":null,"isActive":true,"createdDate":"2022-11-15T10:10:08.083","modifiedDate":null,"submitDate":"2022-11-15T10:09:48.913","description":"Restaurant-Beer","county":"New York","legalName":"Automation20221115203941Automation","fein":"","formId":1165,"isRenewalRequird":true,"dba":null,"associatePermits":[],"provisions":[],"address":{"addressId":null,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":null,"county":"New York","zipCode":"12345","zip4":null,"street":null,"telephoneNumber":null,"country":null,"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":null,"serialNo":0,"addressType":null,"state":null},"mfCCId":null}],"totalRecord":1}
178
Then status 200
0
179
* def licPermitTypeId = response.licenses[0].licPermitTypeId
0
180
* def lpId = response.licenses[0].lpId
0
181
* def effectiveDate = response.licenses[0].effectiveDate
0
182
* def expiryDate = response.licenses[0].expiryDate
0
183
* def legalName = response.licenses[0].legalName
0
184
* def licAppId = response.licenses[0].appId
0
185
* def submitDate = response.licenses[0].submitDate
0
186
* call read('LicensesCommonMethods.feature@GetCountyList') {}
2155
>>
karate.UseCases.LicensesCommonMethods
953
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
117
Given path '/internalapi/api/reference'
0
118
* def dbSts = db.cleanHeap()
699
119
And header authorization = 'Bearer ' + strToken
0
120
And header Content-Type = 'application/json;charset=utf-8'
0
121
And header Accept = 'text/plain'
0
# * def query = {name:countyzone&onlyActives:true}
123
And params {name:countyzone,onlyActives:true}
0
#And param onlyActives='true'
125
And request {}
0
126
When method get
251
20:40:13.084 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/reference?name=countyzone&onlyActives=true
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
1 > Content-Type: application/json;charset=utf-8
1 > Accept: text/plain
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:40:13.334 response time in milliseconds: 250
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:10:13 GMT
1 < Content-Length: 11712
{"values":[{"CountyId":1,"County":"New York","ShortName":"NEW","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T00:00:00","ModifiedBy":"esandoval","ModifiedDate":"2020-11-10T11:30:56.047"},{"CountyId":2,"County":"Kings","ShortName":"KING","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":3,"County":"Bronx","ShortName":"BRON","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":4,"County":"Queens","ShortName":"QUEE","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":5,"County":"Richmond","ShortName":"RICH","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":6,"County":"Nassau","ShortName":"NASS","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":7,"County":"Suffolk","ShortName":"SUFF","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":8,"County":"Westchester","ShortName":"WEST","ZoneNo":1,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":9,"County":"Orange","ShortName":"ORAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.573","ModifiedBy":null,"ModifiedDate":null},{"CountyId":10,"County":"Putnam","ShortName":"PUTN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":11,"County":"Rockland","ShortName":"ROCK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":12,"County":"Albany","ShortName":"ALBA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":13,"County":"Clinton","ShortName":"CLIN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":14,"County":"Columbia","ShortName":"COLU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":15,"County":"Dutchess","ShortName":"DUTC","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":16,"County":"Essex","ShortName":"ESSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":17,"County":"Franklin","ShortName":"FRAN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.577","ModifiedBy":null,"ModifiedDate":null},{"CountyId":18,"County":"Fulton","ShortName":"FULT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":19,"County":"Greene","ShortName":"GREE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.58","ModifiedBy":null,"ModifiedDate":null},{"CountyId":20,"County":"Hamilton","ShortName":"HAMI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":21,"County":"Montgomery","ShortName":"MONT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":22,"County":"Rensselaer","ShortName":"RENS","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":23,"County":"Saratoga","ShortName":"SARA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":24,"County":"Schenectady","ShortName":"SCHE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":25,"County":"Schoharie","ShortName":"SCHO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":26,"County":"Sullivan","ShortName":"SULL","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":27,"County":"Ulster","ShortName":"ULST","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.583","ModifiedBy":null,"ModifiedDate":null},{"CountyId":28,"County":"Warren","ShortName":"WARR","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":29,"County":"Washington","ShortName":"WASH","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":30,"County":"Allegany","ShortName":"ALLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":31,"County":"Cattaraugus","ShortName":"CATT","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":32,"County":"Chautauqua","ShortName":"CHAU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":33,"County":"Chemung","ShortName":"CHEM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":34,"County":"Erie","ShortName":"ERIE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":35,"County":"Genesee","ShortName":"GENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.587","ModifiedBy":null,"ModifiedDate":null},{"CountyId":36,"County":"Livingston","ShortName":"LIVI","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":37,"County":"Monroe","ShortName":"MONR","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":38,"County":"Niagara","ShortName":"NIAG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":39,"County":"Ontario","ShortName":"ONTA","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":40,"County":"Orleans","ShortName":"ORLE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":41,"County":"Schuyler","ShortName":"SCHU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":42,"County":"Seneca","ShortName":"SENE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":43,"County":"Steuben","ShortName":"STEU","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":44,"County":"Wayne","ShortName":"WAYN","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":45,"County":"Wyoming","ShortName":"WYOM","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":46,"County":"Yates","ShortName":"YATE","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":47,"County":"Broome","ShortName":"BROO","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.59","ModifiedBy":null,"ModifiedDate":null},{"CountyId":48,"County":"Chenango","ShortName":"CHEN","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":49,"County":"Cortland","ShortName":"CORT","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":50,"County":"Delaware","ShortName":"DELA","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":51,"County":"Herkimer","ShortName":"HERK","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":52,"County":"Jefferson","ShortName":"JEFF","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.593","ModifiedBy":null,"ModifiedDate":null},{"CountyId":53,"County":"Lewis","ShortName":"LEWI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":54,"County":"Madison","ShortName":"MADI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":55,"County":"Oneida","ShortName":"ONEI","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":56,"County":"Onondaga","ShortName":"ONON","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":57,"County":"Oswego","ShortName":"OSWE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":58,"County":"Otsego","ShortName":"OTSE","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":59,"County":"St. Lawrence","ShortName":"ST L","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":60,"County":"Cayuga","ShortName":"CAYU","ZoneNo":2,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":61,"County":"Tioga","ShortName":"TIOG","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.597","ModifiedBy":null,"ModifiedDate":null},{"CountyId":62,"County":"Tompkins","ShortName":"TOMP","ZoneNo":3,"IsActive":true,"CreatedBy":null,"CreatedDate":"2019-11-25T07:05:29.6","ModifiedBy":null,"ModifiedDate":null}],"name":"countyzone","schema":[{"columnName":"CountyId","dataType":"int","maxLenght":null,"isRequired":true},{"columnName":"County","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ShortName","dataType":"nvarchar","maxLenght":10,"isRequired":false},{"columnName":"ZoneNo","dataType":"int","maxLenght":null,"isRequired":false},{"columnName":"IsActive","dataType":"bit","maxLenght":null,"isRequired":false},{"columnName":"CreatedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"CreatedDate","dataType":"datetime","maxLenght":null,"isRequired":false},{"columnName":"ModifiedBy","dataType":"nvarchar","maxLenght":50,"isRequired":false},{"columnName":"ModifiedDate","dataType":"datetime","maxLenght":null,"isRequired":false}]}
127
* configure continueOnStepFailure = true
0
128
Then status 200
0
129
And def values = response.values
0
130
* configure continueOnStepFailure = true
0
187
* def countyData = karate.jsonPath(values, "$[?(@.CountyId == '" + CountyId + "')]")
1
188
* def countyZone = countyData[0].ZoneNo
0
189
And print countyZone
0
20:40:13.349 [print] 1
190
Given path '/internalapi/api/licensing/renewal/save'
0
191
* def dbSts = db.cleanHeap()
291
192
And header authorization = 'Bearer ' + strToken
0
193
And header Content-Type = 'application/json; charset=utf-8'
0
194
And header Accept = 'application/json; text/plain;*/*'
0
195
And configure continueOnStepFailure = true
0
196
And request {"mainLicenseId":'#(licenseId)',"associated":[],"notQualifiedApplication":'#(notQualifiedApplication)',"NotQualifiedComments":'#(notQlfdAppMessage)'}
0
197
When method Post
169
20:40:13.641 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/renewal/save
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > Content-Length: 108
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"mainLicenseId":"0111-22-129144","associated":[],"notQualifiedApplication":false,"NotQualifiedComments":""}
20:40:13.810 response time in milliseconds: 169
2 < 200
2 < Content-Length: 170
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:10:13 GMT
[{"appId":14006,"formId":1167,"childAppId":null,"mainApplicationId":"RE-22-106383-01","childApplicationId":null,"licensePermitTypeId":40,"description":"Restaurant-Beer"}]
198
* configure continueOnStepFailure = true
0
199
Then status 200
0
200
* def description = response[0].description
0
201
* def appId = response[0].appId
0
202
* def formId = response[0].formId
0
203
* def ApplicationId = response[0].mainApplicationId
0
204
And print ApplicationId
0
20:40:13.811 [print] RE-22-106383-01
205
And match ApplicationId contains 'RE-'
0
207
* def currentYear = '-'+getYearFunc()+'-'
1
208
And match ApplicationId contains currentYear
0
237
* call read('LicensesCommonMethods.feature@FillAndSaveApplicantInformationPage') {}
762
>>
karate.UseCases.LicensesCommonMethods
196
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
700
* def getDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
709
Given path '/internalapi/api/licensing/app/static/applicantinfo/save/'+appId
0
710
And header Content-Type = 'application/json; charset=utf-8'
0
712
* def autoFirstName = firstName + getDate()
0
713
* def legalName = autoFirstName + lastName
0
714
And header Accept = 'application/json; text/plain;*/*'
0
715
And header authorization = 'Bearer ' + strToken
0
716
And request {"businessInfo":{"website":null,"businessEntity":{"individualOrganization":'#(indOrgCode)',"corporateStructure":'#(CorporateStructureDropDownCode)',"firstName":'#(autoFirstName)',"lastName":'#(lastName)',"middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":'#(legalName)',"id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":'#(IndOrgSelectionDropDown)',"corporateStructureText":'#(CorporateStructureDropDown)',"isIndividual":'#(isIndStatus)'},"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":'#(Address1)',"addressLine2":'#(Address2)',"city":'#(CityName)',"stateId":'#(stateCode)',"county":'#(CountyName)',"zipCode":'#(zipCode)',"zip4":'#(postalCode)',"street":null,"telephoneNumber":null,"country":'#(countryName)',"addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":'#(CityName)',"countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":'#(emailId)',"confirmEmail":'#(emailId)',"phones":[{"phoneType":"2","phoneTypeText":"Office","phone":'#(PhoneNumber)',"countryCode":'#(countryCode)',"phoneExtension":'#(PhoneExtn)',"phoneId":0}],"id":0],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
0
717
When method post
192
20:40:14.389 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/applicantinfo/save/14006
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
1 > Content-Length: 2167
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"businessInfo":{"website":null,"businessEntity":{"individualOrganization":1,"corporateStructure":1,"firstName":"Automation20221115204014","lastName":"Automation","middleName":"AutoMidName","suffix":"1","ssn":"","fein":"","legalName":"Automation20221115204014Automation","id":0,"isEmployeeForSoleProprietor":null,"individualOrganizationText":"Individual","corporateStructureText":"Individual","isIndividual":true},"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"3","phoneTypeText":"Mobile","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0,"isLicensed":false,"isAssociated":false},"premisesInfo":{"dba":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneType":"2","phoneTypeText":"Office","phone":"999-999-9999","countryCode":"+91","phoneExtension":1234,"phoneId":0}],"id":0},"id":0},"applicantDetail":{"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"applicantStatement":{"nameOfApplicant":null,"date":null,"title":null,"signature":null,"id":0},"id":0,"isPhysicalChange":null}}
20:40:14.580 response time in milliseconds: 191
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:10:14 GMT
1 < Content-Length: 2187
{"businessInfo":{"id":0,"website":null,"isLicensed":true,"isAssociated":false,"businessEntity":{"id":0,"individualOrganization":"1","corporateStructure":1,"isEmployeeForSoleProprietor":null,"firstName":"Automation20221115204014","lastName":"Automation","middleName":null,"ssn":"","fein":"","legalName":"Automation20221115204014Automation","suffix":"1","corporateStructureText":"Individual","individualOrganizationText":"Individual","isIndividual":true},"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":0,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":0,"phoneType":3,"countryCode":"+91","phone":"999-999-9999","phoneExtension":"1234"}]}},"premisesInfo":{"id":0,"dba":null,"countyId":0,"countyName":null,"isDbaSearched":null,"isPremisesRequired":null,"licensePermitID":null,"address":{"addressId":0,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":0,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[{"phoneId":0,"phoneType":2,"countryCode":"+91","phone":"999-999-9999","phoneExtension":"1234"}]}},"applicantDetail":{"id":0,"masterFileID":null,"mfExpDate":null,"certificateNysTax":null,"certIssueDate":null,"isPhysicalChange":null,"applicantStatement":{"id":0,"nameOfApplicant":null,"title":null,"signature":null,"date":null}}}
718
Then status 200
0
239
* call read('RenewalCommonMethods.feature@SaveAssociatedPrincipal') {}
550
>>
karate.UseCases.RenewalCommonMethods
332
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def date = getDate2()
0
17
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
26
* def effectiveDate = effectiveDateFunc()
0
30
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
39
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
50
* def fundDueDate = fundDueDateFunc(7)
1
53
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
64
* def conditionDefinedDateFunction =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.00");
var date = new java.util.Date();
return sdf.format(date);
}
75
* def conditionDefinedDate = conditionDefinedDateFunction()
0
76
* def conditionDefinedDateFunctionwithAddedDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var date = new java.util.Date();
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
88
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
99
* def getRenewalReviewFunc =
0
function(reviewType){
if (reviewType == 'Send to Licensing Board'){
return 2;
}
else if (reviewType == 'Send to Full Board Preview Team'){
return 3;
}
else if (reviewType == 'Define Deficiencies'){
return 1;
}
}
464
Given path '/internalapi/api/licensing/app/static/principal/'+appId
0
466
And header Content-Type = 'application/json; charset=utf-8'
0
467
And header Accept = 'application/json; text/plain;*/*'
0
468
And header authorization = 'Bearer ' + strToken
0
469
And request {}
0
470
When method get
152
20:40:14.800 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/principal/14006
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:40:14.952 response time in milliseconds: 152
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:10:14 GMT
1 < Content-Length: 1388
{"entities":[],"principals":[{"principalId":3328,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":true,"isFingerprintsApproved":true,"percentageOfOwners":20.0,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","entities":null,"numberOfShares":"","isSignature":false,"isRemove":false,"date":"2022-11-15T00:00:00","convictedOfCrime":"1","title":"15","isLicensed":true,"isAssociated":true,"person":{"personId":5645,"firstName":"Automation20221115203941","middleName":"AutoMidName","lastName":"AutoLastName","suffix":"1","socialSecurityNo":"","birthDate":"2022-11-15T00:00:00","serialNo":0,"age":0,"choosedEntity":[]},"address":{"addressId":29504,"appId":null,"addressLine1":"Address1","addressLine2":"Address2","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25412,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}}]}
471
Then status 200
0
472
* def personResponse = response
0
473
* def principalId = personResponse.principals[0].principalId
0
474
* def personId = personResponse.principals[0].person.personId
0
475
* def licFirstName = personResponse.principals[0].person.firstName
0
476
* def licLastName = personResponse.principals[0].person.lastName
0
477
* def licCommID = personResponse.principals[0].communication.id
0
478
* def licEmailID = personResponse.principals[0].communication.email
0
479
* def licAddressId = personResponse.principals[0].address.addressId
0
480
Given path '/internalapi/api/licensing/app/static/principal/save/'+appId
0
482
And header Content-Type = 'application/json; charset=utf-8'
0
483
* def getDate1 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yyyyMMddHHmmss');
var date = new java.util.Date();
return sdf.format(date);
}
492
* def prncipalName = 'AutoRenewal'+getDate1()
0
494
And header Accept = 'application/json; text/plain;*/*'
0
495
And header authorization = 'Bearer ' + strToken
0
498
And request {"entities":[],"principals":[{"principalId":'#(principalId)',"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":null,"isFingerprintsApproved":null,"percentageOfOwners":null,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":true,\"isNewPrincipal\":false}","entities":null,"numberOfShares":"","isSignature":null,"isRemove":false,"date":null,"convictedOfCrime":"","title":"","isLicensed":null,"isAssociated":null,"person":{"personId":'#(personId)',"firstName":'#(licFirstName)',"middleName":"","lastName":'#(licLastName)',"suffix":"","socialSecurityNo":"","birthDate":null,"serialNo":0,"age":null,"choosedEntity":null},"address":{"addressId":'#(licAddressId)',"appId":null,"addressLine1":"","addressLine2":"","city":"","stateId":40,"county":"","zipCode":"","zip4":"","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":'#(licCommID)',"email":'#(licEmailID)',"confirmEmail":'#(licEmailID)',"phones":[]}},{"principalId":0,"convictedOfCrime":"","percentageOfOwners":"","isFingerprintRequired":"","isFingerprintsApproved":"","title":"","numberOfShares":"","isSignature":"","date":"","address":{"addressLine1":"Test Address1","addressLine2":"","stateId":40,"county":"New York","city":"New York","zipCode":"12345","zip4":"1234","country":"United States (US)","stateName":"New York","countryId":229,"zip":"12345"},"person":{"personId":0,"firstName":"Automation","middleName":"","lastName":"Renewal LicPermit","suffix":"","socialSecurityNo":"","birthDate":"","age":"","choosedEntity":null,"ssnFormat":""},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":'#(licEmailID)',"confirmEmail":'#(licEmailID)'},"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
0
499
When method post
178
20:40:14.953 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/static/principal/save/14006
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
2 > Content-Length: 2220
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"entities":[],"principals":[{"principalId":3328,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":null,"isFingerprintsApproved":null,"percentageOfOwners":null,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":true,\"isNewPrincipal\":false}","entities":null,"numberOfShares":"","isSignature":null,"isRemove":false,"date":null,"convictedOfCrime":"","title":"","isLicensed":null,"isAssociated":null,"person":{"personId":5645,"firstName":"Automation20221115203941","middleName":"","lastName":"AutoLastName","suffix":"","socialSecurityNo":"","birthDate":null,"serialNo":0,"age":null,"choosedEntity":null},"address":{"addressId":29504,"appId":null,"addressLine1":"","addressLine2":"","city":"","stateId":40,"county":"","zipCode":"","zip4":"","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25412,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}},{"principalId":0,"convictedOfCrime":"","percentageOfOwners":"","isFingerprintRequired":"","isFingerprintsApproved":"","title":"","numberOfShares":"","isSignature":"","date":"","address":{"addressLine1":"Test Address1","addressLine2":"","stateId":40,"county":"New York","city":"New York","zipCode":"12345","zip4":"1234","country":"United States (US)","stateName":"New York","countryId":229,"zip":"12345"},"person":{"personId":0,"firstName":"Automation","middleName":"","lastName":"Renewal LicPermit","suffix":"","socialSecurityNo":"","birthDate":"","age":"","choosedEntity":null,"ssnFormat":""},"isIndividualsPartnersAssociatedWithEntity":"","communication":{"id":0,"phones":[],"email":"automation@svam.com","confirmEmail":"automation@svam.com"},"disableFlags":"{\"isExisitingPrincipal\":false,\"isExistingPrincipalInBusiness\":false,\"isRenewalAndAmendPrincipal\":false,\"isNewPrincipal\":true}","isAssociated":false}]}
20:40:15.130 response time in milliseconds: 177
2 < 200
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:10:14 GMT
2 < Content-Length: 2326
{"entities":[],"principals":[{"principalId":3328,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":null,"isFingerprintsApproved":null,"percentageOfOwners":null,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":null,"entities":null,"numberOfShares":"","isSignature":null,"isRemove":false,"date":null,"convictedOfCrime":"","title":"","isLicensed":null,"isAssociated":null,"person":{"personId":5645,"firstName":"Automation20221115203941","middleName":"","lastName":"AutoLastName","suffix":"","socialSecurityNo":"","birthDate":null,"serialNo":0,"age":null,"choosedEntity":[]},"address":{"addressId":29504,"appId":null,"addressLine1":"","addressLine2":"","city":"","stateId":40,"county":"","zipCode":"","zip4":"","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":25412,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}},{"principalId":3329,"isIndividualsPartnersAssociatedWithEntity":false,"isFingerprintRequired":null,"isFingerprintsApproved":null,"percentageOfOwners":null,"dcjsFingerPrintStatus":null,"jsonEntities":null,"disableFlags":null,"entities":null,"numberOfShares":"","isSignature":null,"isRemove":false,"date":null,"convictedOfCrime":"","title":"","isLicensed":null,"isAssociated":null,"person":{"personId":0,"firstName":"Automation","middleName":"","lastName":"Renewal LicPermit","suffix":"","socialSecurityNo":"","birthDate":null,"serialNo":0,"age":null,"choosedEntity":[]},"address":{"addressId":0,"appId":null,"addressLine1":"Test Address1","addressLine2":"","city":"New York","stateId":40,"county":"New York","zipCode":"12345","zip4":"1234","street":null,"telephoneNumber":null,"country":"United States (US)","addressTypeId":null,"location":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isActive":null,"showAndHide":null,"roomNo":null,"stateName":"New York","countryId":229,"serialNo":0,"addressType":null,"state":null},"communication":{"id":0,"email":"automation@svam.com","confirmEmail":"automation@svam.com","phones":[]}}]}
500
Then status 200
0
240
* call read('RenewalCommonMethods.feature@RenewalLicFillingFee') {amount:40000}
2045
>>
karate.UseCases.RenewalCommonMethods
1789
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def date = getDate2()
1
17
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
26
* def effectiveDate = effectiveDateFunc()
0
30
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
39
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
50
* def fundDueDate = fundDueDateFunc(7)
1
53
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
64
* def conditionDefinedDateFunction =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.00");
var date = new java.util.Date();
return sdf.format(date);
}
75
* def conditionDefinedDate = conditionDefinedDateFunction()
0
76
* def conditionDefinedDateFunctionwithAddedDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var date = new java.util.Date();
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
88
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
99
* def getRenewalReviewFunc =
0
function(reviewType){
if (reviewType == 'Send to Licensing Board'){
return 2;
}
else if (reviewType == 'Send to Full Board Preview Team'){
return 3;
}
else if (reviewType == 'Define Deficiencies'){
return 1;
}
}
673
Given path '/internalapi/api/licensing/fees/licenses/get/'+appId
0
674
* def totalFees = licenseFees + fillingFees
0
675
And print totalFees
0
20:40:15.387 [print] 1060.0
676
And header Content-Type = 'application/json; charset=utf-8'
0
677
And header Accept = 'application/json; text/plain;*/*'
0
678
And header authorization = 'Bearer ' + strToken
0
679
And request {}
0
680
When method get
267
20:40:15.388 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/licenses/get/14006
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:40:15.653 response time in milliseconds: 265
1 < 200
1 < Content-Length: 655
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:10:15 GMT
[{"licenseName":"Restaurant - Beer","applicationId":"RE-22-106383-01","applicationTypeId":2,"appFeesId":0,"appId":14006,"feesRefId":6039,"initialFees":0.0,"licensingFees":960.00,"amendmentFees":0.0,"renewalFees":30.00,"totalFees":0.0,"filingFees":0.0,"ancillaryFees":0.00,"isFeesWaived":false,"underPaymentAmount":0.0,"amountReceived":0.0,"waivedComment":null,"isBondReceived":false,"isBondRequired":true,"bondFee":1000.00,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0.00,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}]
681
Then status 200
0
682
And def serverResponse = response
0
683
* def licTerm = serverResponse[0].term
0
684
* def licFees = serverResponse[0].licensingFees+''
0
685
* def licTermDesc = serverResponse[0].termDesc
0
686
* def licFeesRefId = serverResponse[0].feesRefId
0
688
* def licAncillaryFees = serverResponse[0].ancillaryFees+''
0
689
* def licfilingFees = serverResponse[0].filingFees+''
0
690
* def licInitialFees = serverResponse[0].initialFees
0
# And def totalFees = licInitialFees+licfilingFees+licAncillaryFees
#And print totalFees
697
Given path '/internalapi/api/notification/SaveNotification'
0
699
And header Content-Type = 'application/json; charset=utf-8'
0
700
And header Accept = 'application/json; text/plain;*/*'
0
701
And header authorization = 'Bearer ' + strToken
0
702
And request {"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}
0
703
When method post
152
20:40:15.655 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/notification/SaveNotification
2 > Content-Type: application/json; charset=utf-8
2 > Accept: application/json; text/plain;*/*
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
2 > Content-Length: 2006
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":14006,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14006,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14006,"createdBy":"Tarun Gupta"}
20:40:15.807 response time in milliseconds: 152
2 < 200
2 < Content-Type: application/json; charset=utf-8
2 < Server: Microsoft-IIS/10.0
2 < Strict-Transport-Security: max-age=2592000
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:10:15 GMT
2 < Content-Length: 5
false
704
Then status 200
0
705
And print response
0
20:40:15.807 [print] false
710
Given path 'internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
711
And header Content-Type = 'application/json; charset=utf-8'
0
712
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
726
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
735
* def date = getDate2()
1
736
* def futureDate = futureDateFunc()
1
737
And header Accept = 'application/json; text/plain;*/*'
0
738
And header authorization = 'Bearer ' + strToken
0
740
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":40000}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees1)',"totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":'#(licTerm)',"termDesc":'#(licTermDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-03-31T00:00:00.000Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
741
When method post
211
20:40:15.811 request:
3 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/14006/false
3 > Content-Type: application/json; charset=utf-8
3 > Accept: application/json; text/plain;*/*
3 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
3 > Content-Length: 5063
3 > Host: slaleapqaapi.svam.com
3 > Connection: Keep-Alive
3 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
3 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":14006,"slaintakeDate":"2022-11-15T20:40:15.808Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T20:40:15.808Z","amount":40000}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"RE-22-106383-01","applicationTypeId":1,"appFeesId":0,"appId":14006,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"30","totalFees":1060.0,"filingFees":"0","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-03-31T00:00:00.000Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":14006,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14006,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14006,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":14006,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14006,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14006,"createdBy":"Tarun Gupta"},"taskId":null}
20:40:16.022 response time in milliseconds: 211
3 < 200
3 < Content-Length: 4
3 < Content-Type: application/json; charset=utf-8
3 < Server: Microsoft-IIS/10.0
3 < Strict-Transport-Security: max-age=2592000
3 < X-Powered-By: ASP.NET
3 < Date: Tue, 15 Nov 2022 15:10:15 GMT
true
742
Then status 200
0
744
Given path 'internalapi/api/licensing/fees/check-payments/get/'+appId
0
745
And header authorization = 'Bearer ' + strToken
0
746
And request {}
0
747
When method get
196
20:40:16.023 request:
4 > GET https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/check-payments/get/14006
4 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
4 > Content-Type: application/json; charset=UTF-8
4 > Content-Length: 2
4 > Host: slaleapqaapi.svam.com
4 > Connection: Keep-Alive
4 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
4 > Accept-Encoding: gzip,deflate
{}
20:40:16.218 response time in milliseconds: 195
4 < 200
4 < Content-Length: 443
4 < Content-Type: application/json; charset=utf-8
4 < Server: Microsoft-IIS/10.0
4 < Strict-Transport-Security: max-age=2592000
4 < X-Powered-By: ASP.NET
4 < Date: Tue, 15 Nov 2022 15:10:15 GMT
[{"checkDetailId":2404,"appId":14006,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T00:00:00","slaintakeDate":"2022-11-15T00:00:00","amount":40000.0000,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-11-15T10:10:16.023","modifiedBy":null,"modifiedDate":null}]
748
Then status 200
0
749
And def checkDetailId = response[0].checkDetailId
0
750
And print checkDetailId
0
20:40:16.219 [print] 2404
752
Given path '/internalapi/api/licensing/fees/details/save/'+appId+'/false'
0
753
And header Content-Type = 'application/json; charset=utf-8'
0
754
* def futureDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( 30 ));
return sdf.format(dayAfter);
}
765
* def futureDate = futureDateFunc()
2
766
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
775
* def date = getDate2()
0
777
And header Accept = 'application/json; text/plain;*/*'
0
778
And header authorization = 'Bearer ' + strToken
0
779
And request {"checks":[{"appId":'#(appId)',"slaintakeDate":'#(date)',"applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":'#(date)',"amount":'#(totalFees)'}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":0,"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":'#(licInitialFees)',"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees1)',"totalFees":'#(totalFees)',"filingFees":'#(licfilingFees)',"ancillaryFees":'#(licAncillaryFees)',"isFeesWaived":false,"underPaymentAmount":'#(totalFees)',"amountReceived":"0.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":'#(futureDate)',"emailNotificationDetail":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
782
When method post
239
20:40:16.222 request:
5 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/14006/false
5 > Content-Type: application/json; charset=utf-8
5 > Accept: application/json; text/plain;*/*
5 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
5 > Content-Length: 5061
5 > Host: slaleapqaapi.svam.com
5 > Connection: Keep-Alive
5 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
5 > Accept-Encoding: gzip,deflate
{"checks":[{"appId":14006,"slaintakeDate":"2022-11-15T20:40:16.221Z","applyClick":false,"paymentSource":"RDC","checkNo":"1","batchNo":1,"itemNo":1,"slareceivedDate":"2022-11-15T20:40:16.221Z","amount":1060.0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"RE-22-106383-01","applicationTypeId":1,"appFeesId":0,"appId":14006,"feesRefId":6039,"initialFees":0.0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"30","totalFees":1060.0,"filingFees":"0","ancillaryFees":"0","isFeesWaived":false,"underPaymentAmount":1060.0,"amountReceived":"0.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":false,"fundDueDate":"2022-12-15T20:40:16.220Z","emailNotificationDetail":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":14006,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14006,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14006,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":8531,"email":"automation@svam.com","appId":14006,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14006,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14006,"createdBy":"Tarun Gupta"},"taskId":null}
20:40:16.461 response time in milliseconds: 238
5 < 200
5 < Content-Type: application/json; charset=utf-8
5 < Server: Microsoft-IIS/10.0
5 < Strict-Transport-Security: max-age=2592000
5 < X-Powered-By: ASP.NET
5 < Date: Tue, 15 Nov 2022 15:10:15 GMT
5 < Content-Length: 4
true
783
Then status 200
0
# ********* SAVE Application Details To Save *********************
787
Given path '/internalapi/api/licensing/app/save'
0
788
And header authorization = 'Bearer ' + strToken
0
789
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":'#(appId)',"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
790
When method post
263
20:40:16.464 request:
6 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
6 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
6 > Content-Type: application/json; charset=UTF-8
6 > Content-Length: 30720
6 > Host: slaleapqaapi.svam.com
6 > Connection: Keep-Alive
6 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
6 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":14006,"formID":1167,"applicationID":"RE-22-106383-01","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":14006,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
20:40:16.725 response time in milliseconds: 260
6 < 200
6 < Content-Length: 49
6 < Content-Type: application/json; charset=utf-8
6 < Server: Microsoft-IIS/10.0
6 < Strict-Transport-Security: max-age=2592000
6 < X-Powered-By: ASP.NET
6 < Date: Tue, 15 Nov 2022 15:10:16 GMT
{"appId":14006,"applicationId":"RE-22-106383-01"}
791
Then status 200
0
# ********* Save PAYMENT *********************
796
Given path '/internalapi/api/licensing/fees/details/save/'+appId +'/false'
0
797
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
808
* def slaDate = licFeesDate()
1
809
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
821
* def slaaDate = licDate()
0
822
* def licInitialFees1 = licInitialFees+''
0
823
And print licInitialFees1
0
20:40:16.727 [print] 0
824
* def renewalFees1 = renewalFees+''
0
825
And print renewalFees1
0
20:40:16.727 [print] 30
826
* def totalFees1 = totalFees+''
0
828
And print totalFees1
0
20:40:16.727 [print] 1060
829
* def licAncillaryFees1 = licAncillaryFees+''
0
830
* def licfilingFees1 = licfilingFees+''
0
832
And header authorization = 'Bearer ' + strToken
0
833
And request {"checks":[{"checkDetailId":'#(checkDetailId)',"appId":'#(appId)',"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":'#(date)',"slaintakeDate":'#(date)',"amount":40000,"appliedTo":null,"amountUsed":40000,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-03-24T09:43:00.873","modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":'#(description)',"applicationId":'#(ApplicationId)',"applicationTypeId":1,"appFeesId":'#(licFeesRefId)',"appId":'#(appId)',"feesRefId":'#(licFeesRefId)',"initialFees":0,"licensingFees":'#(licenseFees)',"amendmentFees":"0.00","renewalFees":'#(renewalFees1)',"totalFees":'#(totalFees1)',"filingFees":'#(licfilingFees1)',"ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":0,"amountReceived":"40000.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":'#(termInYears)',"termDesc":'#(termDesc)',"seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":'#(appId)',"checkDetailId":'#(checkDetailId)',"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":"40000.00","amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":"1970-01-01T00:00:00.000Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":'#(emailId)',"appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":'#(appId)',"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":'#(appId)',"createdBy":"Tarun Gupta"},"taskId":null}
0
# {"checks":[{"checkDetailId":1622,"appId":5856,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T00:00:00.000Z","slaintakeDate":"2022-09-23T00:00:00.000Z","amount":"100.00","isPaymentFailed":false,"appliedTo":null,"amountUsed":100,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-09-23T13:22:04.11","modifiedBy":null,"modifiedDate":null,"applyClick":true},{"checkDetailId":1623,"appId":5856,"paymentSource":"RDC","checkNo":"2","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T00:00:00.000Z","slaintakeDate":"2022-09-23T00:00:00.000Z","amount":"10.00","isPaymentFailed":false,"appliedTo":null,"amountUsed":10,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-09-23T13:22:04.113","modifiedBy":null,"modifiedDate":null,"applyClick":true}],"appFees":{"appFees":[{"licenseName":"Restaurant - Beer","applicationId":"RE-22-106102-01","applicationTypeId":2,"appFeesId":3976,"appId":5856,"feesRefId":6039,"initialFees":0,"licensingFees":"960.00","am "paymentDetails":[{"appPaymentId":2112,"amountAppliedForApp":"100.00","checkDetailId":1622,"appId":5856,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T00:00:00","slaintakeDate":"2022-09-23T00:00:00","amount":0,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":null,"createdDate":"2022-09-23T13:21:19.61","modifiedBy":"tgupta@svam.com","modifiedDate":"2022-09-23T13:22:04.06"},{"appPaymentId":2113,"amountAppliedForApp":"10.00","checkDetailId":1623,"appId":5856,"paymentSource":"RDC","checkNo":"2","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T00:00:00","slaintakeDate":"2022-09-23T00:00:00","amount":0,"isPaymentFailed":false,"appliedTo":null,"amountUsed":null,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":null,"createdDate":"2022-09-23T13:21:19.623","modifiedBy":"tgupta@svam.com","modifiedDate":"2022-09-23T13:22:04.07"}],"lateFee":0,"isFeesBarPerDay":null,"tempWinaryLicenseFee":null}],"isBondRequired":true,"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":true,"sendNotification":true,"fundDueDate":"2022-09-30T00:00:00.000Z","emailNotificationDetail":{"applicant":{"communicationId":0,"email":"automation@svam.com","appId":5856,"emailContactTypeId":1,"isChecked":true,"roleId":3,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":19517,"email":"sbandi@svam.com","appId":5856,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"automation@test.com","appId":5856,"emailContactTypeId":0,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":true,"appId":5856,"notificationTypeId":96}},"notificationDetails":{"applicant":{"communicationId":0,"email":"automation@svam.com","appId":5856,"emailContactTypeId":1,"isChecked":true,"roleId":3,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":19517,"email":"sbandi@svam.com","appId":5856,"emailContactTypeId":2,"isChecked":true,"roleId":0,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"automation@test.com","appId":5856,"emailContactTypeId":0,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":true,"appId":5856,"notificationTypeId":96},"taskId":2066}
# {"checks":[{"checkDetailId":1625,"appId":5858,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T22:56:37.353Z","slaintakeDate":"2022-09-23T22:56:37.353Z","amount":100 ,"appliedTo":null,"amountUsed":100,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-09-23T22:56:37.353,"modifiedBy":null,"modifiedDate":null,"applyClick":true,"{"checkDetailId":1626,"appId":5858,"paymentSource":"RDC","checkNo":"2","batchNo":"1","itemNo":"1","slareceivedDate":"2022-09-23T22:56:37.353Z","slaintakeDate":"2022-09-23T22:56:37.353Z","amount":"10" ,"appliedTo":null,"amountUsed":0 ,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-09-23T22:56:37.353 ,"modifiedBy":null,"modifiedDate":null,"applyClick":true,],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer", "applicationId":"RE-22-106103-01","applicationTypeId":1,"appFeesId":6039,"appId":5858,"feesRefId":6039,"initialFees":0,"licensingFees":960 ,"amendmentFees":"0.00","renewalFees":"0.00","totalFees":"960" ,"filingFees":"0" ,"ancillaryFees":"0" ,"isFeesWaived":false,"underPaymentAmount":0 ,"amountReceived":"10" ,"waivedComment":null,"isBondReceived":false,"isBondRequired":true,"bondFee":1000,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":5858,"checkDetailId":1625,"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":"100.00","amount":0},{"appId":5858,"checkDetailId":1626,"checkNo":"2","itemNo":"1","batchNo":"1","amountAppliedForApp":"10","amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"isFromReturnedCheck":false,"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":true,"fundDueDate":"2022-09-30T22:56:36.973Z","emailNotificationDetail":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":5858,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":5858,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":5858,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":5858,"createdBy":"Tarun Gupta"},"taskId":null}
836
When method post
205
20:40:16.729 request:
7 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/fees/details/save/14006/false
7 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
7 > Content-Type: application/json; charset=UTF-8
7 > Content-Length: 5452
7 > Host: slaleapqaapi.svam.com
7 > Connection: Keep-Alive
7 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
7 > Accept-Encoding: gzip,deflate
{"checks":[{"checkDetailId":2404,"appId":14006,"paymentSource":"RDC","checkNo":"1","batchNo":"1","itemNo":"1","slareceivedDate":"2022-11-15T20:40:16.221Z","slaintakeDate":"2022-11-15T20:40:16.221Z","amount":40000,"appliedTo":null,"amountUsed":40000,"comment":null,"isReplacement":null,"replacementReason":null,"isActive":true,"createdBy":"tgupta@svam.com","createdDate":"2022-03-24T09:43:00.873","modifiedBy":null,"modifiedDate":null,"applyClick":true,"amountAvailable":0}],"appFees":{"appFees":[{"licenseName":"Restaurant-Beer","applicationId":"RE-22-106383-01","applicationTypeId":1,"appFeesId":6039,"appId":14006,"feesRefId":6039,"initialFees":0,"licensingFees":960,"amendmentFees":"0.00","renewalFees":"30","totalFees":"1060","filingFees":"0","ancillaryFees":"0.00","isFeesWaived":false,"underPaymentAmount":0,"amountReceived":"40000.00","waivedComment":null,"isBondReceived":false,"isBondRequired":false,"bondFee":0,"term":3,"termDesc":"3 Year (s)","seasonalStartDate":null,"seasonalEndDate":null,"isFeesCountBased":false,"isFeesUnitBased":false,"numOfUnits":0,"paymentDetails":[{"appId":14006,"checkDetailId":2404,"checkNo":"1","itemNo":"1","batchNo":"1","amountAppliedForApp":"40000.00","amount":0}],"lateFee":0,"isFeesBarPerDay":null}],"bondDetails":null,"isPaymentFailed":false,"isUnderpaid":false,"sendNotification":false,"fundDueDate":"1970-01-01T00:00:00.000Z","emailNotificationDetail":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":14006,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14006,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14006,"createdBy":"Tarun Gupta"}},"notificationDetails":{"applicant":{"communicationId":15102,"email":"automation@svam.com","appId":14006,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"communicationId":0,"email":"","appId":14006,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"isInstantEmail":false,"appId":14006,"createdBy":"Tarun Gupta"},"taskId":null}
20:40:16.933 response time in milliseconds: 204
7 < 200
7 < Content-Length: 4
7 < Content-Type: application/json; charset=utf-8
7 < Server: Microsoft-IIS/10.0
7 < Strict-Transport-Security: max-age=2592000
7 < X-Powered-By: ASP.NET
7 < Date: Tue, 15 Nov 2022 15:10:16 GMT
true
837
Then status 200
0
838
And print response
0
20:40:16.933 [print] true
# ********* SAVE Application Details To Save *********************
843
Given path '/internalapi/api/licensing/app/save'
0
844
And header authorization = 'Bearer ' + strToken
0
845
And request {"isApproved":false,"appId":'#(appId)',"formID":'#(formId)',"applicationID":'#(ApplicationId)',"formName":'#(description)',"formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":'#(appId)',"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
1
846
When method post
243
20:40:16.936 request:
8 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/save
8 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
8 > Content-Type: application/json; charset=UTF-8
8 > Content-Length: 30720
8 > Host: slaleapqaapi.svam.com
8 > Connection: Keep-Alive
8 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
8 > Accept-Encoding: gzip,deflate
{"isApproved":false,"appId":14006,"formID":1167,"applicationID":"RE-22-106383-01","formName":"Restaurant-Beer","formType":{},"formTypeId":null,"applicationType":{},"applicationTypeId":null,"formCategory":{},"formCategoryId":null,"approvalFlag":null,"status":"","createdBy":"","createdDate":"","modifiedBy":"","sections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1842,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1843,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1851,"key":"","label":"Title","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2232,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2233,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2234,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1200,"sectionName":"","key":"0","label":"Applicant Statement","order":9,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1957,"key":"","label":"By what right does the applicant have possession of the premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1958,"key":"","label":"Explain","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1959,"key":"","label":"Do the terms of the lease or other arrangement require the applicant to provide any consideration based on a percentage of the receipts of the business?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1960,"key":"","label":"If yes, list the section\/page of the lease this information can be found","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1961,"key":"","label":"Does or will anyone other than the applicant\/principals share on a percentage basis or in any way in the receipts, losses, or deficiencies of the business to any extent whatsoever","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1226,"sectionName":"","key":"0","label":"Right to Premises","order":5,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1685,"key":"","label":"First Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":14006,"key":"","label":"Middle Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1687,"key":"","label":"Last Name","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"1 wall street","fieldID":1697,"key":"","label":"Address Line 1\/ POB #","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1698,"key":"","label":"Address Line 2","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"New York","fieldID":1699,"key":"","label":"City","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1700,"key":"","label":"State\/Region","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"dropdown","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"10011","fieldID":1701,"key":"","label":"Zip\/Postal Code","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1754,"key":"","label":"Address","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1934,"key":"","label":"Nature of Interest","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1935,"key":"","label":"Date acquired","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1218,"sectionName":"","key":"0","label":"Other Interested","order":1,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1933,"key":"","label":"Signature","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1936,"key":"","label":"Date","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1239,"sectionName":"","key":"0","label":"Bulletin 254","order":10,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2053,"key":"","label":"Describe the area where the premises is to be located","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2054,"key":"","label":"State what the area is zoned for","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2055,"key":"","label":"Provide a description of the premises to be licensed. Describe all building\/structures that will be utilized in business operations including the number of floors in each.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2056,"key":"","label":"has the building\/premises been known by any other address?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2057,"key":"","label":"If yes, please Specify","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2058,"key":"","label":"has the premises to be licensed and or any other floor in the building been previously licensed or currently licensed to traffic in alcoholic beverages?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2059,"key":"","label":"What was the prior use of the premises to be licensed?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2060,"key":"","label":"Does the proposed location of the business comply with all state and local regulations and zoning codes?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2061,"key":"","label":"is there interior access to any other floor that will not be part of the licensed premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2062,"key":"","label":"if yes, list floor and means of access to each floor.","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2063,"key":"","label":"Does any other person have access to this area?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2064,"key":"","label":"where will the alcohol be stored","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2065,"key":"","label":"if applying for a farm winery license, special farm winery license or micro winery license, the premises must be located on a farm. In the box below, please provide a detailed description of the agricultural production that qualifies the premises as a farm","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1248,"sectionName":"","key":"0","label":"Premises Questionnaire","order":7,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1988,"key":"","label":"Will any other business of any kind be conducted on said premises?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1989,"key":"","label":"How many Employees?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1990,"key":"","label":"If answer is 0, provide explanation","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1991,"key":"","label":"Workers' Compensation Carrier Name and Policy Number?","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":1992,"key":"","label":"Disability Insurance Carrier name and policy Number","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2050,"key":"","label":"Check all activities the business will engage in","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1249,"sectionName":"","key":"0","label":"Method of Operation","order":8,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]},{"show":true,"repeat":false,"isEditable":false,"fields":[{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2072,"key":"","label":"Real Property","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":0,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2073,"key":"","label":"Purchase\/Contract Price of Business","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":1,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2074,"key":"","label":"Renovations\/Improvement Costs","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":2,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2075,"key":"","label":"Miscellaneous","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":3,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2076,"key":"","label":"Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":4,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2077,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":5,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2078,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":6,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2079,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":7,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2080,"key":"","label":"Total Cash","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":8,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2081,"key":"","label":"Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":9,"controlType":"label","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2082,"key":"","label":"Source of Funds","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":10,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2083,"key":"","label":"Personal Questionnaire attached","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":11,"controlType":"checkbox","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2084,"key":"","label":"Dollar Amount","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":12,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2085,"key":"","label":"Total Borrowed","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":13,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2086,"key":"","label":"Total Investment","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":14,"controlType":"textbox","defaultValue":"","format":"","isCalculatedField":false,"isEmptyField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""},{"dataSource":null,"show":true,"isSpecial":false,"sectionRepeatNo":1,"value":"","fieldID":2087,"key":"","label":"Have all investors been disclosed in this application","dataType":"text","required":false,"isSingleLine":true,"minLength":0,"maxLength":0,"order":15,"controlType":"radio","defaultValue":"","format":"","isCalculatedField":false,"fieldName":"","columnName":"","expression":"","dataSourceId":0,"trigger":"","metaData":null,"createdBy":"","modifiedBy":""}],"sectionID":1253,"sectionName":"","key":"0","label":"Financial Disclosure","order":6,"createdBy":"","createdDate":"","modifiedBy":"","tableName":"","isSpecial":false,"isMultipleAllowed":false,"sectionType":null,"sectionSubTypeId":null,"subSections":[],"sectionFieldOrders":[]}],"formVersionId":1231,"version":7,"licenseDescription":"","statusDescription":"Draft","appStatusId":1,"showApplicant":true,"showRepresentative":true,"showPrincipal":true,"showLandlord":true,"showVehicles":false,"showSchedule":false,"staticTabSequence":{"Applicant Information":0,"Principal":1,"Representative":2,"Landlord Identification":3,"Personal Questionnaire":4},"staticTaborder":["Applicant Information","Principal","Representative","Landlord Identification","Personal Questionnaire"],"showPQ":true}
20:40:17.177 response time in milliseconds: 241
8 < 200
8 < Content-Length: 49
8 < Content-Type: application/json; charset=utf-8
8 < Server: Microsoft-IIS/10.0
8 < Strict-Transport-Security: max-age=2592000
8 < X-Powered-By: ASP.NET
8 < Date: Tue, 15 Nov 2022 15:10:16 GMT
{"appId":14006,"applicationId":"RE-22-106383-01"}
847
Then status 200
0
848
And def serverResponse = response
0
241
* call read('LicensesCommonMethods.feature@UploadDocumentAmendment') {}
911
>>
karate.UseCases.LicensesCommonMethods
326
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
5666
* def receivedDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy/MM/dd");
var date = new java.util.Date();
return sdf.format(date);
}
5675
* def receivedDate = receivedDateFunc()
0
5677
Given path '/internalapi/api/document/UploadDocument'
0
5678
And header Content-Type = 'application/json; charset=utf-8'
0
5679
And header Accept = 'application/json; text/plain;*/*'
0
5680
And header authorization = 'Bearer ' + strToken
0
5681
And request {"documentDesc":"TestDocument.docx","acaId":'#(appId)',"acaType":"application","bureau":"bureau","documentType":{"key":1,"value":"20 DAY NOTICE","description":null,"documentSubCategory":"20 DAY"},"documentCategory":null,"receivedDate":'#(receivedDate)',"createdDate":'#(date)',"documentBase64":"data:application/vnd.openxmlformats-officedocument.wordprocessingml.document;base64,UEsDBBQABgAIAAAAIQDupm+0lQEAACkHAAATAM0BW0NvbnRlbnRfVHlwZXNdLnhtbCCiyQEooAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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WxQSwECLQAUAAYACAAAACEASnSMYcoIAAD3LgAAEwAAAAAAAAAAAAAAAAAIKQAAY3VzdG9tWG1sL2l0ZW0xLnhtbFBLAQItABQABgAIAAAAIQB0Pzl6wgAAACgBAAAeAAAAAAAAAAAAAAAAACsyAABjdXN0b21YbWwvX3JlbHMvaXRlbTEueG1sLnJlbHNQSwECLQAUAAYACAAAACEAPSiAX7YAAADJAAAAGAAAAAAAAAAAAAAAAAAxNAAAY3VzdG9tWG1sL2l0ZW1Qcm9wczIueG1sUEsBAi0AFAAGAAgAAAAhAL2EYiOQAAAA2wAAABMAAAAAAAAAAAAAAAAARTUAAGN1c3RvbVhtbC9pdGVtMi54bWxQSwECLQAUAAYACAAAACEApxCnGbYAAADJAAAAGAAAAAAAAAAAAAAAAAAuNgAAY3VzdG9tWG1sL2l0ZW1Qcm9wczEueG1sUEsBAi0AFAAGAAgAAAAhAFyWJyLDAAAAKAEAAB4AAAAAAAAAAAAAAAAAQjcAAGN1c3RvbVhtbC9fcmVscy9pdGVtMi54bWwucmVsc1BLAQItABQABgAIAAAAIQB/i0PDwQAAACIBAAATAAAAAAAAAAAAAAAAAEk5AABjdXN0b21YbWwvaXRlbTMueG1sUEsBAi0AFAAGAAgAAAAhAF2Pkjy5AAAAyQAAABgAAAAAAAAAAAAAAAAAYzoAAGN1c3RvbVhtbC9pdGVtUHJvcHMzLnhtbFBLAQItABQABgAIAAAAIQAAw+x7EQEAAJIBAAATAAAAAAAAAAAAAAAAAHo7AABkb2NQcm9wcy9jdXN0b20ueG1sUEsBAi0AFAAGAAgAAAAhAHvzAqPDAAAAKAEAAB4AAAAAAAAAAAAAAAAAxD0AAGN1c3RvbVhtbC9fcmVscy9pdGVtMy54bWwucmVsc1BLBQYAAAAAFQAVAHsFAADLPwAAAAA=","contentType":"application/vnd.openxmlformats-officedocument.wordprocessingml.document","fileName":"TestDocument.docx","tempGuid":"7a79aee7-0aff-51fb-2e7c-e2445c418b89"}
0
5683
When method post
323
20:40:17.766 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/document/UploadDocument
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
1 > Content-Length: 24547
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"documentDesc":"TestDocument.docx","acaId":14006,"acaType":"application","bureau":"bureau","documentType":{"key":1,"value":"20 DAY NOTICE","description":null,"documentSubCategory":"20 DAY"},"documentCategory":null,"receivedDate":"2022\/11\/15","createdDate":"2022-11-15T20:40:17.763Z","documentBase64":"data:application\/vnd.openxmlformats-officedocument.wordprocessingml.document;base64,UEsDBBQABgAIAAAAIQDupm+0lQEAACkHAAATAM0BW0NvbnRlbnRfVHlwZXNdLnhtbCCiyQEooAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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VtUHJvcHMzLnhtbFBLAQItABQABgAIAAAAIQAAw+x7EQEAAJIBAAATAAAAAAAAAAAAAAAAAHo7AABkb2NQcm9wcy9jdXN0b20ueG1sUEsBAi0AFAAGAAgAAAAhAHvzAqPDAAAAKAEAAB4AAAAAAAAAAAAAAAAAxD0AAGN1c3RvbVhtbC9fcmVscy9pdGVtMy54bWwucmVsc1BLBQYAAAAAFQAVAHsFAADLPwAAAAA=","contentType":"application\/vnd.openxmlformats-officedocument.wordprocessingml.document","fileName":"TestDocument.docx","tempGuid":"7a79aee7-0aff-51fb-2e7c-e2445c418b89"}
20:40:18.088 response time in milliseconds: 322
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:10:18 GMT
1 < Content-Length: 4
true
5684
Then status 200
0
5685
And print response
0
20:40:18.088 [print] true
5686
* match response == 'true'
0
243
* call read('LicensesCommonMethods.feature@SubmitLicenseAndValidateLicStatus') {expStatus:'Awaiting Review'}
3576
>>
karate.UseCases.LicensesCommonMethods
2600
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* Application SUBMIT *********************
1099
Given path '/internalapi/api/licensing/app/submit'
0
1100
And header authorization = 'Bearer ' + strToken
0
1101
And request {"appId":'#(appId)',"wfType":null}
0
1102
When method post
231
20:40:19.070 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/app/submit
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 29
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{"appId":14006,"wfType":null}
20:40:19.299 response time in milliseconds: 229
1 < 200
1 < Content-Length: 121
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:10:19 GMT
{"success":true,"submittedApps":[{"success":true,"taskId":0,"appId":14006,"applicationId":"RE-22-106383-01","error":""}]}
1103
Then status 200
0
1104
And def serverResponse = response
0
1105
And match response.success == true
0
1106
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
2365
>>
karate.UseCases.LicensesCommonMethods
478
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
1
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
317
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
156
20:40:21.504 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/14006
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:40:21.659 response time in milliseconds: 155
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:10:21 GMT
1 < Content-Length: 212
{"applicationId":"RE-22-106383-01","submitDate":"2022-11-15T10:10:19.23","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":true}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:40:21.659 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
0
244
* def licPerType = 'license'
0
245
* call read('LicensesCommonMethods.feature@AssignApplicationsToExaminer') {expStatus:'Awaiting Review'}
1707
>>
karate.UseCases.LicensesCommonMethods
1220
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
0
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
1
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
# ********* AssignApplicationsSaveDigestDataToExaminer *********************
1139
Given path '/internalapi/api/licensing/examiner/assignApplicationsToExaminer'
0
1140
And header authorization = 'Bearer ' + strToken
0
1141
And request [{"appId":'#(appId)',"examinerId":1069,"priority":"Normal"}]
0
1142
When method post
192
20:40:22.147 request:
1 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner/assignApplicationsToExaminer
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
1 > Content-Type: application/json; charset=UTF-8
1 > Content-Length: 55
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
[{"appId":14006,"examinerId":1069,"priority":"Normal"}]
20:40:22.339 response time in milliseconds: 192
1 < 200
1 < Content-Length: 5
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:10:21 GMT
false
1143
And def serverResponse = response
0
1144
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
1026
>>
karate.UseCases.LicensesCommonMethods
404
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
0
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def fundDueDateFunc1 =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
27
* def date = getDate2()
1
28
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
37
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
48
* def fundDueDate = fundDueDateFunc(7)
2
49
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
60
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
69
* def effectiveDate = effectiveDateFunc()
0
70
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
82
* def EffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
91
* def expectedEffDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var date = new java.util.Date();
return sdf.format(date);
}
102
* def getDate3 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:00.000'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
1194
Given path '/internalapi/api/application/preview/'+appId
0
1195
* def dbSts = db.cleanHeap()
244
1196
And header authorization = 'Bearer ' + strToken
0
1197
And header Content-Type = 'application/json; charset=utf-8'
0
1198
And header Accept = 'application/json; text/plain;*/*'
0
1199
And configure continueOnStepFailure = true
0
1200
And request {}
0
1201
When method get
155
20:40:23.197 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/preview/14006
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:40:23.351 response time in milliseconds: 154
1 < 200
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:10:23 GMT
1 < Content-Length: 212
{"applicationId":"RE-22-106383-01","submitDate":"2022-11-15T10:10:19.23","licePermitType":{"isTempPermit":false},"appStatus":{"statusDescription":"Awaiting Review"},"isLicenseApplication":true,"isPreFilled":true}
1202
* configure continueOnStepFailure = true
0
1203
Then status 200
0
1204
And def licStatus = response.appStatus.statusDescription
0
1205
And print licStatus
0
20:40:23.352 [print] Awaiting Review
#* assert (licStatus == expStatus)
# (licStatus == 'Schedule 500 Foot Hearing')
1209
And match licStatus == '#(expStatus)'
1
417
* def extendedDueDateRenewal = fundDueDateFuncRenewal(15)
1
420
And print extendedDueDateRenewal
0
20:40:23.379 [print] 2022-11-30T20:40:23.379Z
421
* def licPerType = 'permit'
0
422
* call read('RenewalCommonMethods.feature@RenewalPermitExaminerReviewDefineDefencies') {expStatus:'Additional Info Required'}
729
20:40:24.109 classpath:karate/UseCases/Uc_RenewalDueDate.feature:422
* call read('RenewalCommonMethods.feature@RenewalPermitExaminerReviewDefineDefencies') {expStatus:'Additional Info Required'}
status code was: 450, expected: 200, response time in milliseconds: 296, url: https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner-review/saveDecision, response:
{
"statusCode": 450,
"message": "49eb22080801 : Current task is not valid"
}
classpath:karate/UseCases/RenewalCommonMethods.feature:1486
classpath:karate/UseCases/Uc_RenewalDueDate.feature:422
>>
karate.UseCases.RenewalCommonMethods
493
3
* url BaseURL
0
4
* def config = { username: '#(dbUserName)', password:'#(dbUserPassword)', url: '#(dbQuery)',driverClassName: 'com.microsoft.sqlserver.jdbc.SQLServerDriver' }
0
5
* def DbUtils = Java.type('utils.DbUtils')
0
6
* def db = new DbUtils(config)
1
7
* def getDate2 =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
16
* def date = getDate2()
1
17
* def effectiveDateFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd");
var date = new java.util.Date();
return sdf.format(date);
}
26
* def effectiveDate = effectiveDateFunc()
0
30
* def getYearFunc =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat('yy');
var date = new java.util.Date();
return sdf.format(date);
}
39
* def fundDueDateFunc =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
50
* def fundDueDate = fundDueDateFunc(7)
1
53
* def licFeesDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
64
* def conditionDefinedDateFunction =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.00");
var date = new java.util.Date();
return sdf.format(date);
}
75
* def conditionDefinedDate = conditionDefinedDateFunction()
0
76
* def conditionDefinedDateFunctionwithAddedDate =
0
function(days) {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var date = new java.util.Date();
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00");
var dayAfter = new java.util.Date(date.getTime() + java.util.concurrent.TimeUnit.DAYS.toMillis( days));
return sdf.format(dayAfter);
}
88
* def licDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
var date = new java.util.Date();
return sdf.format(date);
}
99
* def getRenewalReviewFunc =
0
function(reviewType){
if (reviewType == 'Send to Licensing Board'){
return 2;
}
else if (reviewType == 'Send to Full Board Preview Team'){
return 3;
}
else if (reviewType == 'Define Deficiencies'){
return 1;
}
}
# ********* RenewalPermitExaminerReviewDefineDefencies *********************
1453
* def summisionDate =
0
function() {
var SimpleDateFormat = Java.type('java.text.SimpleDateFormat');
var sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS");
var date = new java.util.Date();
return sdf.format(date);
}
1461
Given path '/internalapi/api/application/'+appId
0
1462
And header Content-Type = 'application/json; charset=utf-8'
0
1463
And header Accept = 'application/json; text/plain;*/*'
0
1464
And header authorization = 'Bearer ' + strToken
0
1465
And request {}
0
1466
When method get
186
20:40:23.616 request:
1 > GET https://slaleapqaapi.svam.com/internalapi/api/application/14006
1 > Content-Type: application/json; charset=utf-8
1 > Accept: application/json; text/plain;*/*
1 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
1 > Content-Length: 2
1 > Host: slaleapqaapi.svam.com
1 > Connection: Keep-Alive
1 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
1 > Accept-Encoding: gzip,deflate
{}
20:40:23.802 response time in milliseconds: 185
1 < 200
1 < Content-Length: 2490
1 < Content-Type: application/json; charset=utf-8
1 < Server: Microsoft-IIS/10.0
1 < Strict-Transport-Security: max-age=2592000
1 < X-Powered-By: ASP.NET
1 < Date: Tue, 15 Nov 2022 15:10:23 GMT
{"applicationCategory":1,"appId":14006,"applicationId":"RE-22-106383-01","licePermitTypeId":null,"applicationTypeId":2,"formVersionId":1666,"formId":1167,"legalName":"Automation20221115204014Automation","submitDate":"2022-11-15T10:10:19.23","isGISRequired":false,"licenseDescription":"Restaurant-Beer","recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":"New York","priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Awaiting Review","taskId":2020,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":null,"isHighlyDeficient":null,"isAllDeficienciesMet":null,"pastDueDate":"12/15/2022 12:00:00 AM","memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":2755,"appId":14006,"examinerId":1069,"name":null,"assignDate":"2022-11-15T10:10:22.287","isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":40,"type":"1","category":"1","product":"Beer","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":40,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"clericalName":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"isFairOrFestival":false,"isShowEffExpDateOnLBReview":false,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":"2022-11-15T10:10:22.287"}
1467
Then status 200
0
1468
And def serverResponse = response
0
1469
* def applicationTypeId = serverResponse.applicationTypeId
0
1470
* def amendmentTypeId = serverResponse.amendmentTypeId
0
1472
* def ApplicationId = serverResponse.applicationId
0
1473
* def formVersionId = serverResponse.formVersionId
0
1474
* def formId = serverResponse.formId
0
1475
* def pastDueDate = serverResponse.pastDueDate
0
1476
And print pastDueDate
0
20:40:23.803 [print] 12/15/2022 12:00:00 AM
1477
* def appExaminerId = serverResponse.assignAppExaminer.appExaminerId
0
1478
* def countyName = serverResponse.assignAppExaminer.countyName
0
1480
Given path '/internalapi/api/licensing/examiner-review/saveDecision'
0
1481
* def formatedSumbitDate = summisionDate()
1
1482
And header authorization = 'Bearer ' + strToken
0
1483
And header current-wfroleid = 4
0
1484
And request {"isFingerPrintsApproved":true,"isFingerPrintsRequired":true,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"appId":'#(appId)',"applicationId":"","applicationType":2,"taskId":2059,"application":{"applicationCategory":1,"appId":'#(appId)',"applicationId":'#(ApplicationId)',"licePermitTypeId":null,"applicationTypeId":2,"formVersionId":'#(formVersionId)',"formId":'#(formId)',"legalName":"Automation20220922133655Automation","submitDate":"2022-09-22T04:06:59.267","isGISRequired":null,"licenseDescription":"Restaurant-Beer","recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":"New York","priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Additional Info Received","taskId":2059,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":true,"isHighlyDeficient":null,"isAllDeficienciesMet":false,"pastDueDate":"10/22/2022 12:00:00 AM","memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":3110,"appId":'#(appId)',"examinerId":1069,"name":null,"assignDate":"2022-09-22T04:07:00.5","isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":40,"type":"1","category":"1","product":"Beer","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":40,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"clericalName":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"isFairOrFestival":false,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":"2022-09-22T04:07:04.213"},"newComments":"","defineDeficiencies":{"isHighlyDeficientApplication":null,"isAllDeficienciesMet":false,"isFinalDeficiency":true},"approvedRenewal":{},"hasErrors":[],"emailNotificationModel":{"applicant":{"communicationId":18448,"email":"automation@svam.com","appId":'#(appId)',"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":""}},"recommendedDecisionId":null,"decisionType":{"name":"No And Define Final Deficiency","value":10,"isChecked":null},"erDeficiencies":{"deficiencies":[],"descriptions":[],"deficienciesList":[],"selectInput":{"fromFields":[{"id":4,"label":"Applicant Name doesnt match Filing Receipt","fullText":"As the applicant is a corporation, LLC or LLP, the applicant name must be the same as the name on the filing receipt."},{"id":5,"label":"Secretary of State filing receipt missing","fullText":"Submit a copy of the Secretary of State filing receipt for the corp/LLC/LLP"},{"id":6,"label":"Corporate Minutes Missing","fullText":"Provide a copy of the corporate minutes for the applicant entity"},{"id":7,"label":"LLC Operating Agreement Missing","fullText":"Provide a copy of the LLC operating agreement for the applicant entity"},{"id":8,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":9,"label":"Prem Address does not match Lease","fullText":"Premises address does not match the address listed on lease."},{"id":10,"label":"Prem Address does not match bill of sale","fullText":"Premises address does not match the address listed on the bill of sale."},{"id":11,"label":"PremAddress does not match deed","fullText":"Premises address does not match the address listed on the deed."},{"id":12,"label":"Prem address not same on all docs or physical loc. ","fullText":"Premises address must be written the same on all documents and must be the physical location of the premises (not the mailing address)."},{"id":13,"label":"Missing NOA/Attorney/Rep","fullText":"Submit a Notice of Appearance or the attorney or representative."},{"id":14,"label":"Lease Missing","fullText":"Entity owning real property does not match applicant name – A lease between the two parties is required and must be submitted. "},{"id":15,"label":"Lease Term Incorrect","fullText":"The lease must run the full term of the license period (please take processing time into consideration when determining the end date of the lease). Provide either a new lease document or an amendment/rider to the existing one (signed by both landlord and tenant). "},{"id":16,"label":"Landlord Name Missing from Deed","fullText":"Landlord name must be the name shown on the deed."},{"id":17,"label":"Landlord Principals Missing","fullText":"All principals of the landlord entity must be listed."},{"id":18,"label":"Deed Missing","fullText":"To verify ownership, submit a copy of the deed."},{"id":19,"label":"Source of Funds Missing","fullText":"The source of ALL funds (cash and borrowed) must be listed on this form."},{"id":20,"label":"Financial Docs Missing","fullText":"Submit financial documentation proving the availability of the funds listed. You must submit 3 consecutive months-worth of statements from checking or savings accounts showing the availability of the funds at the time they were expended."},{"id":21,"label":"Executed Loan Agreements Missing","fullText":"Submit a copy of all executed loan agreements. "},{"id":22,"label":"500 foot Premises Missing","fullText":"Provide the name and address of all on premises liquor establishments located within 500 feet of your establishment."},{"id":23,"label":"500 Foot Statement Missing","fullText":"Provide a statement addressing why you believe it would be in the public's interest to issue this license."},{"id":24,"label":"Statement of Area Plan Missing","fullText":"Please complete the Statement of Area Plan form"},{"id":25,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":26,"label":"","fullText":"Please list gender on _________'s personal questionnaire."},{"id":27,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":28,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":29,"label":"Amend License history for {}","fullText":"________________ has/had license history with the Authority. Amend question five to reflect all license history."},{"id":30,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":31,"label":"Label all Rooms and Bars","fullText":"Amend the diagram labeling all rooms and bars"},{"id":32,"label":"Include Food Prep Area","fullText":"Amend the diagram to include the food prep area"},{"id":33,"label":"Diagram of Basement Missing","fullText":"Provide a diagram of the basement"},{"id":34,"label":"Block Plot Diagram Missing","fullText":"Provide a block plot diagram"},{"id":35,"label":"Outside Area Diagram Missing","fullText":"Add the outside area to the diagram "},{"id":36,"label":"Interior Color Photos Missing","fullText":"Submit color photos of the interior of the premises including all dining areas, the bar and at least one of the kitchen. Place the serial number on the back of each photo."},{"id":37,"label":"Front Exterior Color Photo Missing","fullText":"Submit one color photo of the front exterior of the premises. Place the serial number on the back of the photo."},{"id":38,"label":"Outside Area Color Photo Missing","fullText":"Submit color photos of any outside area (deck, patio, yard) to be licensed. The photos must show how the area is contained (fencing, shrubbery, roping off). Place the serial number on the back of the photos."},{"id":39,"label":"Applicant Color Photo Missing","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":40,"label":"Photo ID for {} Missing","fullText":"Provide a copy of ____________'s photo identification."},{"id":41,"label":"Menu Missing","fullText":"Submit a copy of the menu."},{"id":42,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":43,"label":"Additional Restroom Required","fullText":"You have listed 1 restroom. The Rules of the State Liquor Authority require 2 separate restrooms for both sexes. Please submit a request to the Authority asking for a waiver of the 2-restroom rule. You must explain why you believe one restroom is sufficient for the operation of your establishment."},{"id":44,"label":"Maximum Occupancy Cert Missing","fullText":"Submit a copy of the maximum occupancy certificate."},{"id":45,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted. "},{"id":46,"label":"Applicant Photo Missing","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":47,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted."},{"id":48,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":49,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":50,"label":"Gender missing on {}'s PQ","fullText":"Please list gender on _________'s personal questionnaire."},{"id":51,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":52,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":53,"label":"Amend License history for {}","fullText":"________________ has/had license history with the Authority. Amend question five to reflect all license history."},{"id":54,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":55,"label":"Current Diagram Missing","fullText":"Provide a current diagram – showing what the premises looks like before the proposed changes to be made."},{"id":56,"label":"Proposed Diagram Missing","fullText":"Provide a proposed diagram – showing what the premises will look like after the changes are complete."},{"id":57,"label":"Block Plot Diagram Missing","fullText":"Provide a block plot diagram."},{"id":58,"label":"Outside Area Diagram Missing","fullText":"Add the outside area to the proposed diagram."},{"id":59,"label":"Building Permit Missing","fullText":"Provide a copy of the building permit."},{"id":60,"label":"Area to be Altered Photos Missing","fullText":"Provide photos of the area to be altered."},{"id":61,"label":"Lease of New Area Missing","fullText":"Provide a copy of the lease for the proposed new area."},{"id":62,"label":"New Premises Establishment Q. Missing","fullText":"Provide a completed establishment questionnaire for the new proposed premises."},{"id":63,"label":"Add Bar Application Missing","fullText":"You are adding a new bar to the premises, please provide an additional bar application along with $__________."},{"id":64,"label":"Proof of Finances Misses","fullText":"Provide proof of finances."},{"id":65,"label":"Part 1 Principals Missing","fullText":"List all current principals in Part 1."},{"id":66,"label":"Part 2 Principals Missing","fullText":"List all proposed (current and new) principals in Part 2."},{"id":67,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":68,"label":"Contract/Bill of Sale for Stocks/Shares Missing","fullText":"Provide a copy of the contract or bill of sale for the stock/shares being sold."},{"id":69,"label":"Gift Letter Missing","fullText":"Provide a gift letter for the stock/shares being gifted."},{"id":70,"label":"Death Certificate Missing","fullText":"Provide a copy of the death certificate."},{"id":71,"label":"Last will and Testament Missing","fullText":"Provide a copy of the Last Will & Testament."},{"id":72,"label":"Letters of Testamony or Administration Missing","fullText":"Provide a copy of any Letters of Testamentary or Letters of Administration."},{"id":73,"label":"Applicant's Statement missing","fullText":"Provide a copy of the applicant's statement completed by all new principals."},{"id":74,"label":"Personal Questionnaire Missing","fullText":"Provide a personal questionnaire for any new individuals."},{"id":75,"label":"Proof of Finances Missing","fullText":"Provide proof of finances."},{"id":76,"label":"Standardized Notice Form Missing","fullText":"Provide a copy of the completed standardized notice form and proof of mailing to the community board."},{"id":77,"label":"Corporate Minutes Missing","fullText":"Provide a copy of the corporate minutes appointing new officers."},{"id":78,"label":"Amended Operating Agreement Missing","fullText":"Provide a copy of the amended operating agreement for the LLC listing all officers."},{"id":79,"label":"Applicant Photo Missing for {}","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":81,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":82,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":83,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":84,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":85,"label":"Amend License history for {}","fullText":"________________ has/had license history with the Authority. Amend question five to reflect all license history."},{"id":86,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":87,"label":"Contract/Bill of Sale for interest sold Missing","fullText":"Provide a copy of the contract or bill of sale for the interest being sold."},{"id":88,"label":"Gift Letter Missing","fullText":"Provide a gift letter for the interest being gifted."},{"id":89,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":90,"label":"Death Certificate Missing","fullText":"Provide a copy of the death certificate."},{"id":91,"label":"Last will and Testament Missing","fullText":"Provide a copy of the Last Will & Testament"},{"id":92,"label":"Letters of Testamony or Administration Missing","fullText":"Provide a copy of any Letters of Testamentary or Letters of Administration"},{"id":93,"label":"Applicant's Statement missing","fullText":"Provide a copy of the applicant's statement completed by each new individual or partner"},{"id":94,"label":"Proof of Finances Missing","fullText":"Provide proof of finances."},{"id":95,"label":"Management Agreement Missing","fullText":"Provide a copy of the management agreement."},{"id":96,"label":"Personal Questionnaire Missing","fullText":"Provide a personal questionnaire for any new individuals."},{"id":97,"label":"911 or Municipality Letter Missing","fullText":"Provide a copy of the 911 or letter from the municipality changing the premises address."},{"id":98,"label":"Bond Rider for Premises Address Missing","fullText":"Provide a copy of the bond rider amending the premises address."},{"id":99,"label":"Amended Certificate of Authority Missing","fullText":"Provide a copy of the amended Certificate of Authority reflecting the new information."},{"id":100,"label":"Marriage Cert Missing","fullText":"Provide a copy of the marriage certificate."},{"id":101,"label":"Divorce Decree Missing","fullText":"Provide a copy of the divorce decree."},{"id":102,"label":"Assumed Name Filing Receipt Missing","fullText":"Provide a copy of the Assumed Name filing receipt from the Secretary of State."},{"id":103,"label":"Corporate Name Filing Receipt Missing","fullText":"Provide a copy of the Amended Corporate Name filing receipt from the Secretary of State."},{"id":104,"label":"Court Authorization Docs Missing","fullText":"Provide a copy of documentation of Court Authorization."},{"id":105,"label":"Business Certificate Missing","fullText":"Provide a copy of the amended or new Business Certificate from the county clerk's office."},{"id":106,"label":"Amended Operating Agreement Missing","fullText":"Provide a copy of the amended operating agreement for the LLC, listing all officers."},{"id":107,"label":"Holding Corp Stipulation Missing","fullText":"Provide a holding corporation stipulation."},{"id":108,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":109,"label":"Bond Rider for New Name Missing","fullText":"Provide a bond rider reflecting the new name."},{"id":110,"label":"Applicant Photo Missing for {}","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":111,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted."},{"id":112,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":113,"label":"Personal Quetionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":115,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":116,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":117,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":118,"label":"Amend License history for {}","fullText":"________________ has/had license history with the Authority. Amend question five to reflect all license history."},{"id":119,"label":"Statement of Changes Missing","fullText":"Provide a statement explaining the changes being requested."},{"id":120,"label":"Method of Operatiom Missing","fullText":"Provide a Method of Operation"},{"id":121,"label":"Standardized Notice Form Missing","fullText":"Provide a standardized notice form and proof of mailing sent to the municipality or community board notifying them of the proposed changes."},{"id":122,"label":"Supporting Municiaplity or CB Letter Missing","fullText":"Provide a letter from the municipality or community board advising that they support the proposed changes."},{"id":123,"label":"Additional Funds Required","fullText":"Additional Funds Required"},{"id":124,"label":"Bond Missing","fullText":"Submit the Bond."},{"id":125,"label":"Bond not Signed","fullText":"Signt the Bond."},{"id":126,"label":"All Approved Principals Missing","fullText":"List all the principals approved to be on the license in the corporate section of the renewal application."},{"id":127,"label":"Standardized Notice Form Missing","fullText":"Submit a copy of the 30 day Standardized Notification form sent to the Community Board."},{"id":128,"label":"Proof of Mailing for Standardized Notice","fullText":"Submit a copy of the proof of mailing for the Standardized Notification form. "},{"id":129,"label":"Provide Assumed Name Certificate for DBA","fullText":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC's dba name."},{"id":130,"label":"Provde Business Cert for DBA","fullText":"Provide a copy of the business certificate from the county clerk for your dba name."},{"id":131,"label":"Provide FEIN","fullText":"Provide your federal tax identification number."},{"id":132,"label":"Provide Certificate of Authority DTF","fullText":"Provide a copy of your Certificate of Authority from the New York State Tax Department."},{"id":133,"label":"Provide Amended Cert of Auth. - Name does not Match","fullText":"Provide an amended Certificate of Authority – the name must match the applicant name exactly."},{"id":134,"label":"Provide Amended Cert of Auth.- Address does not Match","fullText":"Provide an amended Certificate of Authority – the address must match the premises address exactly."},{"id":135,"label":"Provide bond rider amending {}","fullText":"Provide a signed Bond Rider amending _______."},{"id":136,"label":"Provide Worker's Comp and Disablity Names and Policy No. ","fullText":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers."},{"id":137,"label":"Provide Inventory to be Purchased","fullText":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee."},{"id":138,"label":"Provide Newspaper Affidavits","fullText":"Submit a copy of the Newspaper Affidavit(s)."},{"id":139,"label":"Provide your TTB Permit","fullText":"Provide your TTB permit."},{"id":140,"label":"Surrender Current License in Effect","fullText":"Surrender of the current license in effect."},{"id":141,"label":"Edits to Curriculum","fullText":"Make the edits listed below to the curriculum."},{"id":142,"label":"Curriculum too General","fullText":"The submitted Curriculum generally covers the required topics. However, the below changes must be made to ensure that the persons taking the course understand their rights, obligations, and liabilities under New York law."},{"id":143,"label":"Direct Delivery Missing","fullText":"The licensee's and server's responsibility to not sell, deliver or give alcohol to someone under the age of 21 (ABC Law 65)."},{"id":144,"label":"Redelivery Missing","fullText":"The licensee's and server's responsibility when serving more than one drink to an individual to be aware of any redelivery by the legal patron (on-premises only)."},{"id":145,"label":"Reasonable Supervision Missing","fullText":"The licensee's and server's responsibility to reasonably supervise the premises."},{"id":146,"label":"Right to Refuse Missing","fullText":"The licensee's and server's right to refuse to sell, including but not limited to, an underage patron, an intoxicated patron, or a patron without proper identification."},{"id":147,"label":"Burden of Reasonable Reliance Missing","fullText":"The licensee's and server's burden to establish that a delivery of alcohol was made in a reasonable reliance upon written evidence of age."},{"id":148,"label":"Forms of Identification Missing","fullText":"The forms of identification which may be legally accepted as written evidence of age (ABC Law 65-b.2)."},{"id":149,"label":"ID Features Missing","fullText":"Key features of the valid forms of identification and the way false and fraudulent forms of identification may be detected."},{"id":150,"label":"Devices and Manuals Missing","fullText":"Devices and manuals which may be used to aid in the detection of false and fraudulent written evidence of age, and information regarding the way such devises and manuals may be obtained."},{"id":151,"label":"Criminal Penalties Missing","fullText":"The criminal liabilities and penalties for both the individual and the establishment for unlawfully dealing with a child (Penal Law 260.20)."},{"id":152,"label":"Civil Liabilities Missing","fullText":"The civil liabilities, general liabilities, responsibilities and general obligations (General Obligations Law 11-100 and 11-101)."},{"id":153,"label":"Firsthand Accounts Missing","fullText":"Firsthand accounts from the public illustrating the consequences of the failure of licensees and/or servers to operate in a safe, legal and responsible manner. (i.e., MADD, RID, and Shattered Lives)."},{"id":154,"label":"Course Access","fullText":"Provide the New York State Liquor Authority with access to the online course for review."},{"id":155,"label":"Applicant website","fullText":"Remove the following content from the applicants' website:"},{"id":156,"label":"Legal Name Missing","fullText":"Provide the legal name of the applicant."},{"id":157,"label":"Mailing Address","fullText":"Provide the mailing address of the applicant."},{"id":158,"label":"Federal ID Number","fullText":"Provide the federal id number of the applicant."},{"id":159,"label":"Applicant's phone","fullText":"Provide the applicant's contact phone number."},{"id":160,"label":"Applicant's Email","fullText":"Provide the applicant's email address."},{"id":161,"label":"Director's Name","fullText":"Provide the director's name."},{"id":162,"label":"Director's Phone","fullText":"Provide the director's phone number."},{"id":163,"label":"Director's Email","fullText":"Provide the director's email address."},{"id":164,"label":"Program Box","fullText":"Designate the format of the course. The Alcoholic Beverage Control Law states that the course be taught via online, classroom, or distance learning. An ATAP course can be offered in multiple formats."},{"id":165,"label":"Late Renewal","fullText":"Late Renewal"}],"toFields":[{"id":-1,"label":"Applicant Photo Missing","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________.","originalId":46},{"id":-2,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted. ","originalId":45},{"id":-3,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________.","originalId":48},{"id":-4,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________.","originalId":49},{"id":-5,"label":"Gender missing on {}'s PQ","fullText":"Please list gender on _________'s personal questionnaire.","originalId":50},{"id":-6,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years.","originalId":51},{"id":-7,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected.","originalId":52},{"id":-8,"label":"Amend License history for {}","fullText":"________________ has/had license history with the Authority. Amend question five to reflect all license history.","originalId":53},{"id":-9,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities.","originalId":54},{"id":-10,"label":"Additional Funds Required","fullText":"Additional Funds Required","originalId":123},{"id":-11,"label":"Provide Assumed Name Certificate for DBA","fullText":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC's dba name.","originalId":129},{"id":-12,"label":"Provde Business Cert for DBA","fullText":"Provide a copy of the business certificate from the county clerk for your dba name.","originalId":130},{"id":-13,"label":"Provide FEIN","fullText":"Provide your federal tax identification number.","originalId":131},{"id":-14,"label":"Provide Certificate of Authority DTF","fullText":"Provide a copy of your Certificate of Authority from the New York State Tax Department.","originalId":132},{"id":-15,"label":"Provide Amended Cert of Auth. - Name does not Match","fullText":"Provide an amended Certificate of Authority – the name must match the applicant name exactly.","originalId":133},{"id":-16,"label":"Provide Amended Cert of Auth.- Address does not Match","fullText":"Provide an amended Certificate of Authority – the address must match the premises address exactly.","originalId":134},{"id":-17,"label":"Provide bond rider amending {}","fullText":"Provide a signed Bond Rider amending _______.","originalId":135},{"id":-18,"label":"Provide Worker's Comp and Disablity Names and Policy No. ","fullText":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers.","originalId":136},{"id":-19,"label":"Provide Inventory to be Purchased","fullText":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee.","originalId":137},{"id":-20,"label":"Provide Newspaper Affidavits","fullText":"Submit a copy of the Newspaper Affidavit(s).","originalId":138},{"id":-21,"label":"Provide your TTB Permit","fullText":"Provide your TTB permit.","originalId":139},{"id":-22,"label":"Surrender Current License in Effect","fullText":"Surrender of the current license in effect.","originalId":140},{"deficiencyDetailId":4701,"appId":'#(appId)',"deficiencyTypeId":46,"deficiencyType":"ABC Officer","shortDescription":"Applicant Photo Missing","applicationType":"Amendments","description":"Provide a color photo of the applicant (no smaller than passport size) for _______________.","deficiencyDate":"2022-09-22T04:07:05.363","responseDueDate":"2022-10-02T04:07:05.363","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.363","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a color photo of the applicant (no smaller than passport size) for _______________.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4701,"originalId":4701,"label":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"deficiencyDetailId":4702,"appId":'#(appId)',"deficiencyTypeId":47,"deficiencyType":"ABC Officer","shortDescription":"Fingerprints needed for {}","applicationType":"Amendments","description":"______________________ needs to be fingerprinted.","deficiencyDate":"2022-09-22T04:07:05.367","responseDueDate":"2022-10-02T04:07:05.367","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.367","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"______________________ needs to be fingerprinted.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4702,"originalId":4702,"label":"______________________ needs to be fingerprinted."},{"deficiencyDetailId":4703,"appId":'#(appId)',"deficiencyTypeId":48,"deficiencyType":"ABC Officer","shortDescription":"Proof of Citizenship Missing for {}","applicationType":"Amendments","description":"Provide proof of citizenship for _________________.","deficiencyDate":"2022-09-22T04:07:05.373","responseDueDate":"2022-10-02T04:07:05.373","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.373","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide proof of citizenship for _________________.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4703,"originalId":4703,"label":"Provide proof of citizenship for _________________."},{"deficiencyDetailId":4704,"appId":'#(appId)',"deficiencyTypeId":49,"deficiencyType":"ABC Officer","shortDescription":"Personal Questionnaire missing for {}","applicationType":"Amendments","description":"Provide a personal questionnaire for __________________.","deficiencyDate":"2022-09-22T04:07:05.377","responseDueDate":"2022-10-02T04:07:05.377","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.377","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a personal questionnaire for __________________.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4704,"originalId":4704,"label":"Provide a personal questionnaire for __________________."},{"deficiencyDetailId":4705,"appId":'#(appId)',"deficiencyTypeId":50,"deficiencyType":"ABC Officer","shortDescription":"Gender missing on {}'s PQ","applicationType":"Amendments","description":"Please list gender on _________'s personal questionnaire.","deficiencyDate":"2022-09-22T04:07:05.383","responseDueDate":"2022-10-02T04:07:05.383","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.383","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Please list gender on _________'s personal questionnaire.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4705,"originalId":4705,"label":"Please list gender on _________'s personal questionnaire."},{"deficiencyDetailId":4706,"appId":'#(appId)',"deficiencyTypeId":51,"deficiencyType":"ABC Officer","shortDescription":"Residence Address (past) Missing","applicationType":"Amendments","description":"Provide residence addresses for the last 5 consecutive years.","deficiencyDate":"2022-09-22T04:07:05.39","responseDueDate":"2022-10-02T04:07:05.39","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.39","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide residence addresses for the last 5 consecutive years.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4706,"originalId":4706,"label":"Provide residence addresses for the last 5 consecutive years."},{"deficiencyDetailId":4707,"appId":'#(appId)',"deficiencyTypeId":52,"deficiencyType":"ABC Officer","shortDescription":"Employment Info (past) Missing","applicationType":"Amendments","description":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected.","deficiencyDate":"2022-09-22T04:07:05.397","responseDueDate":"2022-10-02T04:07:05.397","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.397","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4707,"originalId":4707,"label":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"deficiencyDetailId":4708,"appId":'#(appId)',"deficiencyTypeId":53,"deficiencyType":"ABC Officer","shortDescription":"Amend License history for {}","applicationType":"Amendments","description":"________________ has/had license history with the Authority. Amend question five to reflect all license history.","deficiencyDate":"2022-09-22T04:07:05.4","responseDueDate":"2022-10-02T04:07:05.4","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.4","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"________________ has/had license history with the Authority. Amend question five to reflect all license history.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4708,"originalId":4708,"label":"________________ has/had license history with the Authority. Amend question five to reflect all license history."},{"deficiencyDetailId":4709,"appId":'#(appId)',"deficiencyTypeId":54,"deficiencyType":"ABC Officer","shortDescription":"Conviction Record found for {}","applicationType":"Amendments","description":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities.","deficiencyDate":"2022-09-22T04:07:05.407","responseDueDate":"2022-10-02T04:07:05.407","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.407","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4709,"originalId":4709,"label":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"deficiencyDetailId":4711,"appId":10376,"deficiencyTypeId":129,"deficiencyType":"All","shortDescription":"Provide Assumed Name Certificate for DBA","applicationType":"All","description":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC's dba name.","deficiencyDate":"2022-09-22T04:07:05.42","responseDueDate":"2022-10-02T04:07:05.42","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.42","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC's dba name.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4711,"originalId":4711,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation/LLC's dba name."},{"deficiencyDetailId":4712,"appId":'#(appId)',"deficiencyTypeId":130,"deficiencyType":"All","shortDescription":"Provde Business Cert for DBA","applicationType":"All","description":"Provide a copy of the business certificate from the county clerk for your dba name.","deficiencyDate":"2022-09-22T04:07:05.427","responseDueDate":"2022-10-02T04:07:05.427","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.427","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a copy of the business certificate from the county clerk for your dba name.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4712,"originalId":4712,"label":"Provide a copy of the business certificate from the county clerk for your dba name."},{"deficiencyDetailId":4713,"appId":'#(appId)',"deficiencyTypeId":131,"deficiencyType":"All","shortDescription":"Provide FEIN","applicationType":"All","description":"Provide your federal tax identification number.","deficiencyDate":"2022-09-22T04:07:05.433","responseDueDate":"2022-10-02T04:07:05.433","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.433","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide your federal tax identification number.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4713,"originalId":4713,"label":"Provide your federal tax identification number."},{"deficiencyDetailId":4714,"appId":'#(appId)',"deficiencyTypeId":132,"deficiencyType":"All","shortDescription":"Provide Certificate of Authority DTF","applicationType":"All","description":"Provide a copy of your Certificate of Authority from the New York State Tax Department.","deficiencyDate":"2022-09-22T04:07:05.437","responseDueDate":"2022-10-02T04:07:05.437","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.437","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a copy of your Certificate of Authority from the New York State Tax Department.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4714,"originalId":4714,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department."},{"deficiencyDetailId":4715,"appId":'#(appId)',"deficiencyTypeId":133,"deficiencyType":"All","shortDescription":"Provide Amended Cert of Auth. - Name does not Match","applicationType":"All","description":"Provide an amended Certificate of Authority – the name must match the applicant name exactly.","deficiencyDate":"2022-09-22T04:07:05.447","responseDueDate":"2022-10-02T04:07:05.447","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.447","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide an amended Certificate of Authority – the name must match the applicant name exactly.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4715,"originalId":4715,"label":"Provide an amended Certificate of Authority – the name must match the applicant name exactly."},{"deficiencyDetailId":4716,"appId":'#(appId)',"deficiencyTypeId":134,"deficiencyType":"All","shortDescription":"Provide Amended Cert of Auth.- Address does not Match","applicationType":"All","description":"Provide an amended Certificate of Authority – the address must match the premises address exactly.","deficiencyDate":"2022-09-22T04:07:05.453","responseDueDate":"2022-10-02T04:07:05.453","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.453","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide an amended Certificate of Authority – the address must match the premises address exactly.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4716,"originalId":4716,"label":"Provide an amended Certificate of Authority – the address must match the premises address exactly."},{"deficiencyDetailId":4717,"appId":'#(appId)',"deficiencyTypeId":135,"deficiencyType":"All","shortDescription":"Provide bond rider amending {}","applicationType":"All","description":"Provide a signed Bond Rider amending _______.","deficiencyDate":"2022-09-22T04:07:05.46","responseDueDate":"2022-10-02T04:07:05.46","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.46","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a signed Bond Rider amending _______.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4717,"originalId":4717,"label":"Provide a signed Bond Rider amending _______."},{"deficiencyDetailId":4718,"appId":'#(appId)',"deficiencyTypeId":136,"deficiencyType":"All","shortDescription":"Provide Worker's Comp and Disablity Names and Policy No. ","applicationType":"All","description":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers.","deficiencyDate":"2022-09-22T04:07:05.467","responseDueDate":"2022-10-02T04:07:05.467","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.467","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4718,"originalId":4718,"label":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers."},{"deficiencyDetailId":4719,"appId":'#(appId)',"deficiencyTypeId":137,"deficiencyType":"All","shortDescription":"Provide Inventory to be Purchased","applicationType":"All","description":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee.","deficiencyDate":"2022-09-22T04:07:05.473","responseDueDate":"2022-10-02T04:07:05.473","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.473","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4719,"originalId":4719,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee."},{"deficiencyDetailId":4720,"appId":'#(appId)',"deficiencyTypeId":138,"deficiencyType":"All","shortDescription":"Provide Newspaper Affidavits","applicationType":"All","description":"Submit a copy of the Newspaper Affidavit(s).","deficiencyDate":"2022-09-22T04:07:05.48","responseDueDate":"2022-10-02T04:07:05.48","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.48","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Submit a copy of the Newspaper Affidavit(s).","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4720,"originalId":4720,"label":"Submit a copy of the Newspaper Affidavit(s)."},{"deficiencyDetailId":4721,"appId":'#(appId)',"deficiencyTypeId":139,"deficiencyType":"All","shortDescription":"Provide your TTB Permit","applicationType":"All","description":"Provide your TTB permit.","deficiencyDate":"2022-09-22T04:07:05.487","responseDueDate":"2022-10-02T04:07:05.487","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.487","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide your TTB permit.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4721,"originalId":4721,"label":"Provide your TTB permit."},{"deficiencyDetailId":4722,"appId":'#(appId)',"deficiencyTypeId":140,"deficiencyType":"All","shortDescription":"Surrender Current License in Effect","applicationType":"All","description":"Surrender of the current license in effect.","deficiencyDate":"2022-09-22T04:07:05.493","responseDueDate":"2022-10-02T04:07:05.493","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.493","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Surrender of the current license in effect.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4722,"originalId":4722,"label":"Surrender of the current license in effect."}],"isRewritable":true,"rewriteLabel":"Edit Deficiency:","additionalComments":"","srclabel":"Select Deficiencies","dstlabel":"Add to Notification","additionalLabel":"Add Additional Deficiencies:"}},"mfccFileDataDtos":[],"notificationTypeId":2028,"combinedCraftAndMasterFileGrandTotal":null,"licenseData":{}}
1
1485
When method post
300
20:40:23.808 request:
2 > POST https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner-review/saveDecision
2 > authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6InRndXB0YUBzdmFtLmNvbSIsInN1YiI6InRndXB0YUBzdmFtLmNvbSIsIlJvbGVJZCI6IjEwNjkiLCJVc2VySWQiOiIxMDY5IiwianRpIjoiODVmYmY5MzQtMjE4Ny00NDAwLWI0NzMtOGUxMzI4ZTEwNTdmIiwiZXhwIjoxNjY4NTUzNzc1LCJpc3MiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8iLCJhdWQiOiJodHRwczovL3NsYWxlYXBxYWFwaS5zdmFtLmNvbS9pbnRlcm5hbGFwaS8ifQ.I4ZmmZXT8Nhga6yWqXX9yt7d3aBvkgDTBW47fdcPJTA
2 > current-wfroleid: 4
2 > Content-Type: application/json; charset=UTF-8
2 > Content-Length: 54942
2 > Host: slaleapqaapi.svam.com
2 > Connection: Keep-Alive
2 > User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_321)
2 > Accept-Encoding: gzip,deflate
{"isFingerPrintsApproved":true,"isFingerPrintsRequired":true,"isCorpLLCDissolved":false,"isCorpLLCDTaken":false,"isSendPDLetter":false,"isDisable500LB_FBPT":false,"isDisableLBForPD":false,"isDisableLBForCaseClosed":false,"isDisableLateRenewalAndUnderpayment":false,"isLiquidatorPermitHasCompleted":-1,"isSubmit":true,"fieldDeficiencies":[],"masterFileData":[],"combinedCraftData":[],"appId":14006,"applicationId":"","applicationType":2,"taskId":2059,"application":{"applicationCategory":1,"appId":14006,"applicationId":"RE-22-106383-01","licePermitTypeId":null,"applicationTypeId":2,"formVersionId":1666,"formId":1167,"legalName":"Automation20220922133655Automation","submitDate":"2022-09-22T04:06:59.267","isGISRequired":null,"licenseDescription":"Restaurant-Beer","recommendedDecisionId":null,"status500":null,"isApplicableForPDLetter":false,"countyName":"New York","priority":"Normal","expirationDate":null,"appStatusId":3,"taskStatus":"Additional Info Received","taskId":2059,"currentWfstatus":null,"communityBoard":null,"isLicenseApplication":true,"currentDueDate":null,"isFinalDeficiency":true,"isHighlyDeficient":null,"isAllDeficienciesMet":false,"pastDueDate":"10\/22\/2022 12:00:00 AM","memo":null,"isOneTimePermit":null,"dueDateAction":null,"isDisapprovedForCause":false,"isNotQualified":false,"eventDate":null,"appStatus":{"appStatusId":3,"statusDescription":"Under Review","isActive":true,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"applicationType":null,"assignAppExaminer":{"appExaminerId":3110,"appId":14006,"examinerId":1069,"name":null,"assignDate":"2022-09-22T04:07:00.5","isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null},"assignAppToLB":null,"licePermitType":{"licPermitTypeId":40,"type":"1","category":"1","product":"Beer","class":null,"description":null,"sectionOfLaw":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"modifiedDate":null,"isTempPermit":false,"isELicensingPermit":false,"isAdditionalBar":false},"assoApplicationList":[],"isTempPermit":null,"isTempOrLiq":false,"licPermitTypeId":40,"isAssociatedLicense":null,"effectiveDate":null,"assignedUserId":null,"amendmentTypeId":null,"amendmentType":null,"disapprovedDate":null,"condApprovedDate":null,"addressId":null,"isCaseOpen":null,"isClosed":null,"isCaseOpenSameAddress":null,"isSpecialEventPlusFour":null,"isSpecialEventInsideFiveBoroughs":null,"licStatus":null,"createdBy":null,"clericalName":null,"licenseId":null,"address":null,"isNybeApp":false,"isHearingCompleted":null,"does500FtHearingExist":null,"parentAppStatus":null,"premisesAppCount":0,"statusDescription":null,"eventAddress":null,"isFairOrFestival":false,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskRoleId":0,"taskDecision":null,"isActive":true,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":"2022-09-22T04:07:04.213"},"newComments":"","defineDeficiencies":{"isHighlyDeficientApplication":null,"isAllDeficienciesMet":false,"isFinalDeficiency":true},"approvedRenewal":{},"hasErrors":[],"emailNotificationModel":{"applicant":{"communicationId":18448,"email":"automation@svam.com","appId":14006,"emailContactTypeId":1,"isChecked":true,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"attorney":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"communityBoard":{"communicationId":0,"email":null,"appId":0,"emailContactTypeId":0,"isChecked":false,"roleId":null,"decision":null,"screen":null,"emails":null,"solicitorEmails":null,"notificatonTypeId":null,"acaType":null,"isInstantEmail":null,"userName":null,"userId":0,"currentRoleId":0,"tempGuid":null,"applicationStatus":null,"taskId":null,"taskRoleId":0,"taskDecision":null,"isActive":null,"createdBy":null,"createdDate":null,"modifiedBy":null,"wfRoleId":0,"modifiedDate":null},"other":{"email":""}},"recommendedDecisionId":null,"decisionType":{"name":"No And Define Final Deficiency","value":10,"isChecked":null},"erDeficiencies":{"deficiencies":[],"descriptions":[],"deficienciesList":[],"selectInput":{"fromFields":[{"id":4,"label":"Applicant Name doesnt match Filing Receipt","fullText":"As the applicant is a corporation, LLC or LLP, the applicant name must be the same as the name on the filing receipt."},{"id":5,"label":"Secretary of State filing receipt missing","fullText":"Submit a copy of the Secretary of State filing receipt for the corp\/LLC\/LLP"},{"id":6,"label":"Corporate Minutes Missing","fullText":"Provide a copy of the corporate minutes for the applicant entity"},{"id":7,"label":"LLC Operating Agreement Missing","fullText":"Provide a copy of the LLC operating agreement for the applicant entity"},{"id":8,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":9,"label":"Prem Address does not match Lease","fullText":"Premises address does not match the address listed on lease."},{"id":10,"label":"Prem Address does not match bill of sale","fullText":"Premises address does not match the address listed on the bill of sale."},{"id":11,"label":"PremAddress does not match deed","fullText":"Premises address does not match the address listed on the deed."},{"id":12,"label":"Prem address not same on all docs or physical loc. ","fullText":"Premises address must be written the same on all documents and must be the physical location of the premises (not the mailing address)."},{"id":13,"label":"Missing NOA\/Attorney\/Rep","fullText":"Submit a Notice of Appearance or the attorney or representative."},{"id":14,"label":"Lease Missing","fullText":"Entity owning real property does not match applicant name \u2013 A lease between the two parties is required and must be submitted. "},{"id":15,"label":"Lease Term Incorrect","fullText":"The lease must run the full term of the license period (please take processing time into consideration when determining the end date of the lease). Provide either a new lease document or an amendment\/rider to the existing one (signed by both landlord and tenant). "},{"id":16,"label":"Landlord Name Missing from Deed","fullText":"Landlord name must be the name shown on the deed."},{"id":17,"label":"Landlord Principals Missing","fullText":"All principals of the landlord entity must be listed."},{"id":18,"label":"Deed Missing","fullText":"To verify ownership, submit a copy of the deed."},{"id":19,"label":"Source of Funds Missing","fullText":"The source of ALL funds (cash and borrowed) must be listed on this form."},{"id":20,"label":"Financial Docs Missing","fullText":"Submit financial documentation proving the availability of the funds listed. You must submit 3 consecutive months-worth of statements from checking or savings accounts showing the availability of the funds at the time they were expended."},{"id":21,"label":"Executed Loan Agreements Missing","fullText":"Submit a copy of all executed loan agreements. "},{"id":22,"label":"500 foot Premises Missing","fullText":"Provide the name and address of all on premises liquor establishments located within 500 feet of your establishment."},{"id":23,"label":"500 Foot Statement Missing","fullText":"Provide a statement addressing why you believe it would be in the public's interest to issue this license."},{"id":24,"label":"Statement of Area Plan Missing","fullText":"Please complete the Statement of Area Plan form"},{"id":25,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":26,"label":"","fullText":"Please list gender on _________'s personal questionnaire."},{"id":27,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":28,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":29,"label":"Amend License history for {}","fullText":"________________ has\/had license history with the Authority. Amend question five to reflect all license history."},{"id":30,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":31,"label":"Label all Rooms and Bars","fullText":"Amend the diagram labeling all rooms and bars"},{"id":32,"label":"Include Food Prep Area","fullText":"Amend the diagram to include the food prep area"},{"id":33,"label":"Diagram of Basement Missing","fullText":"Provide a diagram of the basement"},{"id":34,"label":"Block Plot Diagram Missing","fullText":"Provide a block plot diagram"},{"id":35,"label":"Outside Area Diagram Missing","fullText":"Add the outside area to the diagram "},{"id":36,"label":"Interior Color Photos Missing","fullText":"Submit color photos of the interior of the premises including all dining areas, the bar and at least one of the kitchen. Place the serial number on the back of each photo."},{"id":37,"label":"Front Exterior Color Photo Missing","fullText":"Submit one color photo of the front exterior of the premises. Place the serial number on the back of the photo."},{"id":38,"label":"Outside Area Color Photo Missing","fullText":"Submit color photos of any outside area (deck, patio, yard) to be licensed. The photos must show how the area is contained (fencing, shrubbery, roping off). Place the serial number on the back of the photos."},{"id":39,"label":"Applicant Color Photo Missing","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":40,"label":"Photo ID for {} Missing","fullText":"Provide a copy of ____________'s photo identification."},{"id":41,"label":"Menu Missing","fullText":"Submit a copy of the menu."},{"id":42,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":43,"label":"Additional Restroom Required","fullText":"You have listed 1 restroom. The Rules of the State Liquor Authority require 2 separate restrooms for both sexes. Please submit a request to the Authority asking for a waiver of the 2-restroom rule. You must explain why you believe one restroom is sufficient for the operation of your establishment."},{"id":44,"label":"Maximum Occupancy Cert Missing","fullText":"Submit a copy of the maximum occupancy certificate."},{"id":45,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted. "},{"id":46,"label":"Applicant Photo Missing","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":47,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted."},{"id":48,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":49,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":50,"label":"Gender missing on {}'s PQ","fullText":"Please list gender on _________'s personal questionnaire."},{"id":51,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":52,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":53,"label":"Amend License history for {}","fullText":"________________ has\/had license history with the Authority. Amend question five to reflect all license history."},{"id":54,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":55,"label":"Current Diagram Missing","fullText":"Provide a current diagram \u2013 showing what the premises looks like before the proposed changes to be made."},{"id":56,"label":"Proposed Diagram Missing","fullText":"Provide a proposed diagram \u2013 showing what the premises will look like after the changes are complete."},{"id":57,"label":"Block Plot Diagram Missing","fullText":"Provide a block plot diagram."},{"id":58,"label":"Outside Area Diagram Missing","fullText":"Add the outside area to the proposed diagram."},{"id":59,"label":"Building Permit Missing","fullText":"Provide a copy of the building permit."},{"id":60,"label":"Area to be Altered Photos Missing","fullText":"Provide photos of the area to be altered."},{"id":61,"label":"Lease of New Area Missing","fullText":"Provide a copy of the lease for the proposed new area."},{"id":62,"label":"New Premises Establishment Q. Missing","fullText":"Provide a completed establishment questionnaire for the new proposed premises."},{"id":63,"label":"Add Bar Application Missing","fullText":"You are adding a new bar to the premises, please provide an additional bar application along with $__________."},{"id":64,"label":"Proof of Finances Misses","fullText":"Provide proof of finances."},{"id":65,"label":"Part 1 Principals Missing","fullText":"List all current principals in Part 1."},{"id":66,"label":"Part 2 Principals Missing","fullText":"List all proposed (current and new) principals in Part 2."},{"id":67,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":68,"label":"Contract\/Bill of Sale for Stocks\/Shares Missing","fullText":"Provide a copy of the contract or bill of sale for the stock\/shares being sold."},{"id":69,"label":"Gift Letter Missing","fullText":"Provide a gift letter for the stock\/shares being gifted."},{"id":70,"label":"Death Certificate Missing","fullText":"Provide a copy of the death certificate."},{"id":71,"label":"Last will and Testament Missing","fullText":"Provide a copy of the Last Will & Testament."},{"id":72,"label":"Letters of Testamony or Administration Missing","fullText":"Provide a copy of any Letters of Testamentary or Letters of Administration."},{"id":73,"label":"Applicant's Statement missing","fullText":"Provide a copy of the applicant's statement completed by all new principals."},{"id":74,"label":"Personal Questionnaire Missing","fullText":"Provide a personal questionnaire for any new individuals."},{"id":75,"label":"Proof of Finances Missing","fullText":"Provide proof of finances."},{"id":76,"label":"Standardized Notice Form Missing","fullText":"Provide a copy of the completed standardized notice form and proof of mailing to the community board."},{"id":77,"label":"Corporate Minutes Missing","fullText":"Provide a copy of the corporate minutes appointing new officers."},{"id":78,"label":"Amended Operating Agreement Missing","fullText":"Provide a copy of the amended operating agreement for the LLC listing all officers."},{"id":79,"label":"Applicant Photo Missing for {}","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":81,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":82,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":83,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":84,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":85,"label":"Amend License history for {}","fullText":"________________ has\/had license history with the Authority. Amend question five to reflect all license history."},{"id":86,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":87,"label":"Contract\/Bill of Sale for interest sold Missing","fullText":"Provide a copy of the contract or bill of sale for the interest being sold."},{"id":88,"label":"Gift Letter Missing","fullText":"Provide a gift letter for the interest being gifted."},{"id":89,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":90,"label":"Death Certificate Missing","fullText":"Provide a copy of the death certificate."},{"id":91,"label":"Last will and Testament Missing","fullText":"Provide a copy of the Last Will & Testament"},{"id":92,"label":"Letters of Testamony or Administration Missing","fullText":"Provide a copy of any Letters of Testamentary or Letters of Administration"},{"id":93,"label":"Applicant's Statement missing","fullText":"Provide a copy of the applicant's statement completed by each new individual or partner"},{"id":94,"label":"Proof of Finances Missing","fullText":"Provide proof of finances."},{"id":95,"label":"Management Agreement Missing","fullText":"Provide a copy of the management agreement."},{"id":96,"label":"Personal Questionnaire Missing","fullText":"Provide a personal questionnaire for any new individuals."},{"id":97,"label":"911 or Municipality Letter Missing","fullText":"Provide a copy of the 911 or letter from the municipality changing the premises address."},{"id":98,"label":"Bond Rider for Premises Address Missing","fullText":"Provide a copy of the bond rider amending the premises address."},{"id":99,"label":"Amended Certificate of Authority Missing","fullText":"Provide a copy of the amended Certificate of Authority reflecting the new information."},{"id":100,"label":"Marriage Cert Missing","fullText":"Provide a copy of the marriage certificate."},{"id":101,"label":"Divorce Decree Missing","fullText":"Provide a copy of the divorce decree."},{"id":102,"label":"Assumed Name Filing Receipt Missing","fullText":"Provide a copy of the Assumed Name filing receipt from the Secretary of State."},{"id":103,"label":"Corporate Name Filing Receipt Missing","fullText":"Provide a copy of the Amended Corporate Name filing receipt from the Secretary of State."},{"id":104,"label":"Court Authorization Docs Missing","fullText":"Provide a copy of documentation of Court Authorization."},{"id":105,"label":"Business Certificate Missing","fullText":"Provide a copy of the amended or new Business Certificate from the county clerk's office."},{"id":106,"label":"Amended Operating Agreement Missing","fullText":"Provide a copy of the amended operating agreement for the LLC, listing all officers."},{"id":107,"label":"Holding Corp Stipulation Missing","fullText":"Provide a holding corporation stipulation."},{"id":108,"label":"Organizational Chart Needed","fullText":"Provide a clear organizational chart for the applicant entity. Each holding corporation should be listed. All principals of each entity should be listed along with their percentage of ownership."},{"id":109,"label":"Bond Rider for New Name Missing","fullText":"Provide a bond rider reflecting the new name."},{"id":110,"label":"Applicant Photo Missing for {}","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"id":111,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted."},{"id":112,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________."},{"id":113,"label":"Personal Quetionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________."},{"id":115,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years."},{"id":116,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"id":117,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"id":118,"label":"Amend License history for {}","fullText":"________________ has\/had license history with the Authority. Amend question five to reflect all license history."},{"id":119,"label":"Statement of Changes Missing","fullText":"Provide a statement explaining the changes being requested."},{"id":120,"label":"Method of Operatiom Missing","fullText":"Provide a Method of Operation"},{"id":121,"label":"Standardized Notice Form Missing","fullText":"Provide a standardized notice form and proof of mailing sent to the municipality or community board notifying them of the proposed changes."},{"id":122,"label":"Supporting Municiaplity or CB Letter Missing","fullText":"Provide a letter from the municipality or community board advising that they support the proposed changes."},{"id":123,"label":"Additional Funds Required","fullText":"Additional Funds Required"},{"id":124,"label":"Bond Missing","fullText":"Submit the Bond."},{"id":125,"label":"Bond not Signed","fullText":"Signt the Bond."},{"id":126,"label":"All Approved Principals Missing","fullText":"List all the principals approved to be on the license in the corporate section of the renewal application."},{"id":127,"label":"Standardized Notice Form Missing","fullText":"Submit a copy of the 30 day Standardized Notification form sent to the Community Board."},{"id":128,"label":"Proof of Mailing for Standardized Notice","fullText":"Submit a copy of the proof of mailing for the Standardized Notification form. "},{"id":129,"label":"Provide Assumed Name Certificate for DBA","fullText":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC's dba name."},{"id":130,"label":"Provde Business Cert for DBA","fullText":"Provide a copy of the business certificate from the county clerk for your dba name."},{"id":131,"label":"Provide FEIN","fullText":"Provide your federal tax identification number."},{"id":132,"label":"Provide Certificate of Authority DTF","fullText":"Provide a copy of your Certificate of Authority from the New York State Tax Department."},{"id":133,"label":"Provide Amended Cert of Auth. - Name does not Match","fullText":"Provide an amended Certificate of Authority \u2013 the name must match the applicant name exactly."},{"id":134,"label":"Provide Amended Cert of Auth.- Address does not Match","fullText":"Provide an amended Certificate of Authority \u2013 the address must match the premises address exactly."},{"id":135,"label":"Provide bond rider amending {}","fullText":"Provide a signed Bond Rider amending _______."},{"id":136,"label":"Provide Worker's Comp and Disablity Names and Policy No. ","fullText":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers."},{"id":137,"label":"Provide Inventory to be Purchased","fullText":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee."},{"id":138,"label":"Provide Newspaper Affidavits","fullText":"Submit a copy of the Newspaper Affidavit(s)."},{"id":139,"label":"Provide your TTB Permit","fullText":"Provide your TTB permit."},{"id":140,"label":"Surrender Current License in Effect","fullText":"Surrender of the current license in effect."},{"id":141,"label":"Edits to Curriculum","fullText":"Make the edits listed below to the curriculum."},{"id":142,"label":"Curriculum too General","fullText":"The submitted Curriculum generally covers the required topics. However, the below changes must be made to ensure that the persons taking the course understand their rights, obligations, and liabilities under New York law."},{"id":143,"label":"Direct Delivery Missing","fullText":"The licensee's and server's responsibility to not sell, deliver or give alcohol to someone under the age of 21 (ABC Law 65)."},{"id":144,"label":"Redelivery Missing","fullText":"The licensee's and server's responsibility when serving more than one drink to an individual to be aware of any redelivery by the legal patron (on-premises only)."},{"id":145,"label":"Reasonable Supervision Missing","fullText":"The licensee's and server's responsibility to reasonably supervise the premises."},{"id":146,"label":"Right to Refuse Missing","fullText":"The licensee's and server's right to refuse to sell, including but not limited to, an underage patron, an intoxicated patron, or a patron without proper identification."},{"id":147,"label":"Burden of Reasonable Reliance Missing","fullText":"The licensee's and server's burden to establish that a delivery of alcohol was made in a reasonable reliance upon written evidence of age."},{"id":148,"label":"Forms of Identification Missing","fullText":"The forms of identification which may be legally accepted as written evidence of age (ABC Law 65-b.2)."},{"id":149,"label":"ID Features Missing","fullText":"Key features of the valid forms of identification and the way false and fraudulent forms of identification may be detected."},{"id":150,"label":"Devices and Manuals Missing","fullText":"Devices and manuals which may be used to aid in the detection of false and fraudulent written evidence of age, and information regarding the way such devises and manuals may be obtained."},{"id":151,"label":"Criminal Penalties Missing","fullText":"The criminal liabilities and penalties for both the individual and the establishment for unlawfully dealing with a child (Penal Law 260.20)."},{"id":152,"label":"Civil Liabilities Missing","fullText":"The civil liabilities, general liabilities, responsibilities and general obligations (General Obligations Law 11-100 and 11-101)."},{"id":153,"label":"Firsthand Accounts Missing","fullText":"Firsthand accounts from the public illustrating the consequences of the failure of licensees and\/or servers to operate in a safe, legal and responsible manner. (i.e., MADD, RID, and Shattered Lives)."},{"id":154,"label":"Course Access","fullText":"Provide the New York State Liquor Authority with access to the online course for review."},{"id":155,"label":"Applicant website","fullText":"Remove the following content from the applicants' website:"},{"id":156,"label":"Legal Name Missing","fullText":"Provide the legal name of the applicant."},{"id":157,"label":"Mailing Address","fullText":"Provide the mailing address of the applicant."},{"id":158,"label":"Federal ID Number","fullText":"Provide the federal id number of the applicant."},{"id":159,"label":"Applicant's phone","fullText":"Provide the applicant's contact phone number."},{"id":160,"label":"Applicant's Email","fullText":"Provide the applicant's email address."},{"id":161,"label":"Director's Name","fullText":"Provide the director's name."},{"id":162,"label":"Director's Phone","fullText":"Provide the director's phone number."},{"id":163,"label":"Director's Email","fullText":"Provide the director's email address."},{"id":164,"label":"Program Box","fullText":"Designate the format of the course. The Alcoholic Beverage Control Law states that the course be taught via online, classroom, or distance learning. An ATAP course can be offered in multiple formats."},{"id":165,"label":"Late Renewal","fullText":"Late Renewal"}],"toFields":[{"id":-1,"label":"Applicant Photo Missing","fullText":"Provide a color photo of the applicant (no smaller than passport size) for _______________.","originalId":46},{"id":-2,"label":"Fingerprints needed for {}","fullText":"______________________ needs to be fingerprinted. ","originalId":45},{"id":-3,"label":"Proof of Citizenship Missing for {}","fullText":"Provide proof of citizenship for _________________.","originalId":48},{"id":-4,"label":"Personal Questionnaire missing for {}","fullText":"Provide a personal questionnaire for __________________.","originalId":49},{"id":-5,"label":"Gender missing on {}'s PQ","fullText":"Please list gender on _________'s personal questionnaire.","originalId":50},{"id":-6,"label":"Residence Address (past) Missing","fullText":"Provide residence addresses for the last 5 consecutive years.","originalId":51},{"id":-7,"label":"Employment Info (past) Missing","fullText":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected.","originalId":52},{"id":-8,"label":"Amend License history for {}","fullText":"________________ has\/had license history with the Authority. Amend question five to reflect all license history.","originalId":53},{"id":-9,"label":"Conviction Record found for {}","fullText":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities.","originalId":54},{"id":-10,"label":"Additional Funds Required","fullText":"Additional Funds Required","originalId":123},{"id":-11,"label":"Provide Assumed Name Certificate for DBA","fullText":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC's dba name.","originalId":129},{"id":-12,"label":"Provde Business Cert for DBA","fullText":"Provide a copy of the business certificate from the county clerk for your dba name.","originalId":130},{"id":-13,"label":"Provide FEIN","fullText":"Provide your federal tax identification number.","originalId":131},{"id":-14,"label":"Provide Certificate of Authority DTF","fullText":"Provide a copy of your Certificate of Authority from the New York State Tax Department.","originalId":132},{"id":-15,"label":"Provide Amended Cert of Auth. - Name does not Match","fullText":"Provide an amended Certificate of Authority \u2013 the name must match the applicant name exactly.","originalId":133},{"id":-16,"label":"Provide Amended Cert of Auth.- Address does not Match","fullText":"Provide an amended Certificate of Authority \u2013 the address must match the premises address exactly.","originalId":134},{"id":-17,"label":"Provide bond rider amending {}","fullText":"Provide a signed Bond Rider amending _______.","originalId":135},{"id":-18,"label":"Provide Worker's Comp and Disablity Names and Policy No. ","fullText":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers.","originalId":136},{"id":-19,"label":"Provide Inventory to be Purchased","fullText":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee.","originalId":137},{"id":-20,"label":"Provide Newspaper Affidavits","fullText":"Submit a copy of the Newspaper Affidavit(s).","originalId":138},{"id":-21,"label":"Provide your TTB Permit","fullText":"Provide your TTB permit.","originalId":139},{"id":-22,"label":"Surrender Current License in Effect","fullText":"Surrender of the current license in effect.","originalId":140},{"deficiencyDetailId":4701,"appId":14006,"deficiencyTypeId":46,"deficiencyType":"ABC Officer","shortDescription":"Applicant Photo Missing","applicationType":"Amendments","description":"Provide a color photo of the applicant (no smaller than passport size) for _______________.","deficiencyDate":"2022-09-22T04:07:05.363","responseDueDate":"2022-10-02T04:07:05.363","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.363","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a color photo of the applicant (no smaller than passport size) for _______________.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4701,"originalId":4701,"label":"Provide a color photo of the applicant (no smaller than passport size) for _______________."},{"deficiencyDetailId":4702,"appId":14006,"deficiencyTypeId":47,"deficiencyType":"ABC Officer","shortDescription":"Fingerprints needed for {}","applicationType":"Amendments","description":"______________________ needs to be fingerprinted.","deficiencyDate":"2022-09-22T04:07:05.367","responseDueDate":"2022-10-02T04:07:05.367","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.367","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"______________________ needs to be fingerprinted.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4702,"originalId":4702,"label":"______________________ needs to be fingerprinted."},{"deficiencyDetailId":4703,"appId":14006,"deficiencyTypeId":48,"deficiencyType":"ABC Officer","shortDescription":"Proof of Citizenship Missing for {}","applicationType":"Amendments","description":"Provide proof of citizenship for _________________.","deficiencyDate":"2022-09-22T04:07:05.373","responseDueDate":"2022-10-02T04:07:05.373","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.373","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide proof of citizenship for _________________.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4703,"originalId":4703,"label":"Provide proof of citizenship for _________________."},{"deficiencyDetailId":4704,"appId":14006,"deficiencyTypeId":49,"deficiencyType":"ABC Officer","shortDescription":"Personal Questionnaire missing for {}","applicationType":"Amendments","description":"Provide a personal questionnaire for __________________.","deficiencyDate":"2022-09-22T04:07:05.377","responseDueDate":"2022-10-02T04:07:05.377","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.377","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a personal questionnaire for __________________.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4704,"originalId":4704,"label":"Provide a personal questionnaire for __________________."},{"deficiencyDetailId":4705,"appId":14006,"deficiencyTypeId":50,"deficiencyType":"ABC Officer","shortDescription":"Gender missing on {}'s PQ","applicationType":"Amendments","description":"Please list gender on _________'s personal questionnaire.","deficiencyDate":"2022-09-22T04:07:05.383","responseDueDate":"2022-10-02T04:07:05.383","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.383","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Please list gender on _________'s personal questionnaire.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4705,"originalId":4705,"label":"Please list gender on _________'s personal questionnaire."},{"deficiencyDetailId":4706,"appId":14006,"deficiencyTypeId":51,"deficiencyType":"ABC Officer","shortDescription":"Residence Address (past) Missing","applicationType":"Amendments","description":"Provide residence addresses for the last 5 consecutive years.","deficiencyDate":"2022-09-22T04:07:05.39","responseDueDate":"2022-10-02T04:07:05.39","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.39","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide residence addresses for the last 5 consecutive years.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4706,"originalId":4706,"label":"Provide residence addresses for the last 5 consecutive years."},{"deficiencyDetailId":4707,"appId":14006,"deficiencyTypeId":52,"deficiencyType":"ABC Officer","shortDescription":"Employment Info (past) Missing","applicationType":"Amendments","description":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected.","deficiencyDate":"2022-09-22T04:07:05.397","responseDueDate":"2022-10-02T04:07:05.397","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.397","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4707,"originalId":4707,"label":"Provide employment information for the last 5 consecutive years. If unemployed for any period of time during the past 5 years, that must also be reflected."},{"deficiencyDetailId":4708,"appId":14006,"deficiencyTypeId":53,"deficiencyType":"ABC Officer","shortDescription":"Amend License history for {}","applicationType":"Amendments","description":"________________ has\/had license history with the Authority. Amend question five to reflect all license history.","deficiencyDate":"2022-09-22T04:07:05.4","responseDueDate":"2022-10-02T04:07:05.4","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.4","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"________________ has\/had license history with the Authority. Amend question five to reflect all license history.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4708,"originalId":4708,"label":"________________ has\/had license history with the Authority. Amend question five to reflect all license history."},{"deficiencyDetailId":4709,"appId":14006,"deficiencyTypeId":54,"deficiencyType":"ABC Officer","shortDescription":"Conviction Record found for {}","applicationType":"Amendments","description":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities.","deficiencyDate":"2022-09-22T04:07:05.407","responseDueDate":"2022-10-02T04:07:05.407","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.407","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4709,"originalId":4709,"label":"The Department of Criminal Justice Services has advised us that ________________________ has a conviction record. Amend question 6b to reflect the correct answer and provide a signed statement as to why the question was originally answered no. Submit a Certificate of Disposition for all arrests and convictions. If convicted of a felony, you must submit a Certificate of Relief from Disabilities."},{"deficiencyDetailId":4711,"appId":10376,"deficiencyTypeId":129,"deficiencyType":"All","shortDescription":"Provide Assumed Name Certificate for DBA","applicationType":"All","description":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC's dba name.","deficiencyDate":"2022-09-22T04:07:05.42","responseDueDate":"2022-10-02T04:07:05.42","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.42","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC's dba name.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4711,"originalId":4711,"label":"Provide a copy of the Assumed Name Certificate from the Secretary of State for your corporation\/LLC's dba name."},{"deficiencyDetailId":4712,"appId":14006,"deficiencyTypeId":130,"deficiencyType":"All","shortDescription":"Provde Business Cert for DBA","applicationType":"All","description":"Provide a copy of the business certificate from the county clerk for your dba name.","deficiencyDate":"2022-09-22T04:07:05.427","responseDueDate":"2022-10-02T04:07:05.427","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.427","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a copy of the business certificate from the county clerk for your dba name.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4712,"originalId":4712,"label":"Provide a copy of the business certificate from the county clerk for your dba name."},{"deficiencyDetailId":4713,"appId":14006,"deficiencyTypeId":131,"deficiencyType":"All","shortDescription":"Provide FEIN","applicationType":"All","description":"Provide your federal tax identification number.","deficiencyDate":"2022-09-22T04:07:05.433","responseDueDate":"2022-10-02T04:07:05.433","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.433","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide your federal tax identification number.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4713,"originalId":4713,"label":"Provide your federal tax identification number."},{"deficiencyDetailId":4714,"appId":14006,"deficiencyTypeId":132,"deficiencyType":"All","shortDescription":"Provide Certificate of Authority DTF","applicationType":"All","description":"Provide a copy of your Certificate of Authority from the New York State Tax Department.","deficiencyDate":"2022-09-22T04:07:05.437","responseDueDate":"2022-10-02T04:07:05.437","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.437","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a copy of your Certificate of Authority from the New York State Tax Department.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4714,"originalId":4714,"label":"Provide a copy of your Certificate of Authority from the New York State Tax Department."},{"deficiencyDetailId":4715,"appId":14006,"deficiencyTypeId":133,"deficiencyType":"All","shortDescription":"Provide Amended Cert of Auth. - Name does not Match","applicationType":"All","description":"Provide an amended Certificate of Authority \u2013 the name must match the applicant name exactly.","deficiencyDate":"2022-09-22T04:07:05.447","responseDueDate":"2022-10-02T04:07:05.447","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.447","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide an amended Certificate of Authority \u2013 the name must match the applicant name exactly.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4715,"originalId":4715,"label":"Provide an amended Certificate of Authority \u2013 the name must match the applicant name exactly."},{"deficiencyDetailId":4716,"appId":14006,"deficiencyTypeId":134,"deficiencyType":"All","shortDescription":"Provide Amended Cert of Auth.- Address does not Match","applicationType":"All","description":"Provide an amended Certificate of Authority \u2013 the address must match the premises address exactly.","deficiencyDate":"2022-09-22T04:07:05.453","responseDueDate":"2022-10-02T04:07:05.453","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.453","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide an amended Certificate of Authority \u2013 the address must match the premises address exactly.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4716,"originalId":4716,"label":"Provide an amended Certificate of Authority \u2013 the address must match the premises address exactly."},{"deficiencyDetailId":4717,"appId":14006,"deficiencyTypeId":135,"deficiencyType":"All","shortDescription":"Provide bond rider amending {}","applicationType":"All","description":"Provide a signed Bond Rider amending _______.","deficiencyDate":"2022-09-22T04:07:05.46","responseDueDate":"2022-10-02T04:07:05.46","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.46","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide a signed Bond Rider amending _______.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4717,"originalId":4717,"label":"Provide a signed Bond Rider amending _______."},{"deficiencyDetailId":4718,"appId":14006,"deficiencyTypeId":136,"deficiencyType":"All","shortDescription":"Provide Worker's Comp and Disablity Names and Policy No. ","applicationType":"All","description":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers.","deficiencyDate":"2022-09-22T04:07:05.467","responseDueDate":"2022-10-02T04:07:05.467","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.467","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4718,"originalId":4718,"label":"Provide Worker's Compensation and Disability Benefits insurance provider names and policy numbers."},{"deficiencyDetailId":4719,"appId":14006,"deficiencyTypeId":137,"deficiencyType":"All","shortDescription":"Provide Inventory to be Purchased","applicationType":"All","description":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee.","deficiencyDate":"2022-09-22T04:07:05.473","responseDueDate":"2022-10-02T04:07:05.473","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.473","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4719,"originalId":4719,"label":"Provide an inventory of the alcoholic beverages you will be purchasing from the current licensee."},{"deficiencyDetailId":4720,"appId":14006,"deficiencyTypeId":138,"deficiencyType":"All","shortDescription":"Provide Newspaper Affidavits","applicationType":"All","description":"Submit a copy of the Newspaper Affidavit(s).","deficiencyDate":"2022-09-22T04:07:05.48","responseDueDate":"2022-10-02T04:07:05.48","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.48","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Submit a copy of the Newspaper Affidavit(s).","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4720,"originalId":4720,"label":"Submit a copy of the Newspaper Affidavit(s)."},{"deficiencyDetailId":4721,"appId":14006,"deficiencyTypeId":139,"deficiencyType":"All","shortDescription":"Provide your TTB Permit","applicationType":"All","description":"Provide your TTB permit.","deficiencyDate":"2022-09-22T04:07:05.487","responseDueDate":"2022-10-02T04:07:05.487","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.487","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Provide your TTB permit.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4721,"originalId":4721,"label":"Provide your TTB permit."},{"deficiencyDetailId":4722,"appId":14006,"deficiencyTypeId":140,"deficiencyType":"All","shortDescription":"Surrender Current License in Effect","applicationType":"All","description":"Surrender of the current license in effect.","deficiencyDate":"2022-09-22T04:07:05.493","responseDueDate":"2022-10-02T04:07:05.493","isResponseReceived":null,"isDeficiencyResolved":null,"isFinalDeficiency":null,"documentId":null,"isHighlyDeficient":null,"documents":null,"definedBy":null,"createdBy":"tgupta@svam.com","createdDate":"2022-09-22T04:07:05.493","isActive":true,"isUserDeficiency":null,"additionalDeficiencyDetail":"Surrender of the current license in effect.","responseReceived":[],"tempGuid":null,"isDeficiency":null,"formDeficiencyId":null,"nybeFormDeficiencyId":null,"isStatic":null,"id":4722,"originalId":4722,"label":"Surrender of the current license in effect."}],"isRewritable":true,"rewriteLabel":"Edit Deficiency:","additionalComments":"","srclabel":"Select Deficiencies","dstlabel":"Add to Notification","additionalLabel":"Add Additional Deficiencies:"}},"mfccFileDataDtos":[],"notificationTypeId":2028,"combinedCraftAndMasterFileGrandTotal":null,"licenseData":{}}
20:40:24.105 response time in milliseconds: 296
2 < 450
2 < Cache-Control: no-cache
2 < Pragma: no-cache
2 < Content-Type: application/json
2 < Expires: -1
2 < Server: Microsoft-IIS/10.0
2 < X-Powered-By: ASP.NET
2 < Date: Tue, 15 Nov 2022 15:10:23 GMT
2 < Content-Length: 83
{
"statusCode": 450,
"message": "49eb22080801 : Current task is not valid"
}
1486
Then status 200
1
20:40:24.108 classpath:karate/UseCases/RenewalCommonMethods.feature:1486
Then status 200
status code was: 450, expected: 200, response time in milliseconds: 296, url: https://slaleapqaapi.svam.com/internalapi/api/licensing/examiner-review/saveDecision, response:
{
"statusCode": 450,
"message": "49eb22080801 : Current task is not valid"
}
classpath:karate/UseCases/RenewalCommonMethods.feature:1486
1487
* call read('LicensesCommonMethods.feature@checkApplicationStatus') {}
0
424
* def approvedStatus = false
0
426
* call read('RenewalCommonMethods.feature@RenewalChangeDueDateExtension'){}
0
427
* def emailBodyData = 'our request for a deficiency response extension, for the above-mentioned record, has been disapproved.'
0
428
* def subject = 'NYS Liquor Authority Licensing Bureau Record Information'
0
429
* def typeOfNotification = 'Due Date Extension Disapproved'
0
430
* call read('LicensesCommonMethods.feature@ValidateEmailCommunicationQueue'){}
0